Standardize the numeric columns of a data.frame.
rescale_data(data, v_mean = NULL, v_sd = NULL)A data.frame with scaled data. Non-numeric columns are also returned in their original position.
data.frame containing the variables to be standardized.
vector of means of the data.frame. The value for the non-numeric columns should be NA. If not given, it is computed from data.
vector of standard deviations of the data.frame. The value for the non-numeric columns should be NA. If not given, it is computed from data.