Learn R Programming

superb (version 0.95.15)

biasCorrectionTransform: bias-correction transform

Description

biasCorrectionTransform is a transformation that can be applied to a matrix of data. The resulting matrix's variance is corrected for bias m08superb

Usage

biasCorrectionTransform(dta, variables)

Value

a data.frame of the same form as dta with the variables transformed.

This function is useful when passed to the argument preprocessfct of superbPlot()

where it performs a modification of the data matrix.

Arguments

dta

a data.frame containing the data in wide format;

variables

a vector of column names on which the transformation will be applied. the remaining columns will be left unchanged

References