unscale {regtools} | R Documentation |
Miscellaneous Utilities
Description
Utilities.
Usage
unscale(scaledx,ctrs=NULL,sds=NULL)
mmscale(m,scalePars=NULL,p=NULL)
catDFRow(dfRow)
constCols(d)
allNumeric(lst)
Arguments
scaledx |
A matrix. |
m |
A matrix. |
ctrs |
Take the original means to be |
lst |
An R list. |
sds |
Take the original standard deviations to be |
dfRow |
A row in a data frame. |
d |
A data frame or matrix. |
scalePars |
If not NULL, a 2-row matrix, with column |
p |
If |
Details
The function mmscale
is meant as a better-behaved alternative to
scale
. Using minimum and maximum values, it maps variables to
[0,1], thus avoiding the problems arising from very small standard
deviations in scale
.
The function catDFRow
nicely prints a row of a data frame.
The function constCols
determines which columns of a data frame
or matrix are constant, if any.
Value
The function unscale
returns the original object to which
scale
had been applied. Or, the attributes ctrs
and
sds
can be specified by the user.
Author(s)
Norm Matloff