transformContCov: Transform covariates

Description Usage Arguments Value Examples

View source: R/SaemixData.R

Description

Transform and/or center continuous covariates

Usage

1
2
3
4
5
6
7
transformContCov(
  object,
  covariate,
  transformation = function(x) x,
  centering = "median",
  verbose = FALSE
)

Arguments

object

saemixData object

covariate

name of the covariate

transformation

transformation function. Defaults to no transformation

centering

string, giving the value used to center the covariate; can be "mean" or "median", in which case this value will be computed from the data, 'none' or 0 for no centering, or a value given by the user. Defaults to the median value over the dataset.

verbose

a boolean, prints messages during the execution of the function if TRUE. Defaults to FALSE.

Value

an object of class "SaemixData"

Examples

1
# TODO

saemixdevelopment/saemix documentation built on May 27, 2020, 1:56 p.m.