Scales variables in data.frame dfx using ordinary least squares such
Scales variables in data.frame dfx using ordinary least squares such that the scaled result explains as much of the variance in dfy as possible. Scaling is done separately for each variable (i.e. no linear mixing of variables). Assumes data.frames dfx and dfy to be of identical structure. Intended use: to scale up cocoreg projections to account for the lost variance.
data.frame, Data frame to use as independent variable
data.frame, Data frames to use as dependent variable
data.frame, A rescaled version of dfx with dimnames from dfy.
1 2 3 4 5 6
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.