Electrical resistivity in RAg compounds (R=Pr, Nd, Gd, Dy, Er, Lu)