This method centers and scales the columns of a numeric matrix using the means and columns derived from a subset of its indices.
x.scaleL(x,L,sanity=TRUE,sanity.only=FALSE)
a numeric object with n rows and p columns.
the index set to define the means and variances.
a flag to indicate whether x
should be converted to a ‘matrix’ form.
this flag bypasses the scaling but does coerce x
to a ‘matrix’.