A little function to rescale data using vectors of means and sds
descale_w_objects(data, mean_vector, sd_vector)
dataframe or matrix for rescaling
vector of means to use for rescaling. Should be one value for each column in the data
vector of sds to use for rescaling. Should be one value for each column in the data
Brian Maitner