Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

scaleData

Scale Response Variable to Ensure Robust Numerical Calculations


Description

Function determines scaling factor for transforming the mean of the response to a range between 0.1 and 1, applies scaling of the response and binds the scaling factor to the data as attribute 'scale'.

Usage

scaleData(Data = NULL, resp = NULL)

Arguments

Data

(data.frame) with the data to be fitted and the response to be scaled

resp

(character) name of the (numeric) response variable

Value

(data.frame) with the response scaled according to the scaling-factor, which is recorded in the attribute scale of the data set

Author(s)

Andre Schuetzenmeister andre.schuetzenmester@roche.com


VCA

Variance Component Analysis

v1.4.3
GPL (>= 3)
Authors
Andre Schuetzenmeister [aut, cre], Florian Dufey [aut]
Initial release
2020-06-17

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.