FRESAScale {FRESA.CAD} | R Documentation |
Data frame normalization
Description
All features from the data
will be normalized based on the distribution of the reference data-frame
Usage
FRESAScale(data,refFrame=NULL,method=c("Norm","Order",
"OrderLogit","RankInv","LRankInv"),
refMean=NULL,refDisp=NULL,strata=NA)
Arguments
data |
The dataframe to be normalized |
refFrame |
The reference frame that will be used to extract the feature distribution |
method |
The normalization method. Norm: Mean and Std, Order: Median and IQR,OrderLogit order plus logit, RankInv: |
refMean |
The mean vector of the reference frame |
refDisp |
the data dispersion method of the reference frame |
strata |
the data stratification variable for the RankInv method |
Details
The data-frame will be normalized according to the distribution of the reference frame or the mean vector(refMean
) scaled by the reference dispersion vector(refDisp
).
Value
scaledData |
The scaled data set |
refMean |
The mean or median vector of the reference frame |
refDisp |
The data dispersion (standard deviation or IQR) |
strata |
The normalization strata |
method |
The normalization method |
refFrame |
The data frame used to estimate the normalization |
Author(s)
Jose G. Tamez-Pena