
Last chance! 50% off unlimited learning
Sale ends in
rescale
function converts the data to standard scores and then rescales to the specified mean(s) and standard deviation(s).rescale(x, mean = 100, sd = 15,df=TRUE)
scale
T <- rescale(attitude,50,10) #all put on same scale
describe(T)
T1 <- rescale(attitude,seq(0,300,50),seq(10,70,10)) #different means and sigmas
describe(T1)
Run the code above in your browser using DataLab