Learn R Programming

PhenStat (version 2.6.0)

formulaDeterminingLambda: Method "formulaDeterminingLambda"

Description

Returns the starting formula that we wish to interogate the data with in estimating the lambda for a Box-Cox transformation

Usage

formulaDeterminingLambda(noSexes, depVariable, multipleBatches, equation)

Arguments

noSexes
number of sexes in the data; mandatory argument
depVariable
a character string defining the dependent variable of interest; mandatory argument
multipleBatches
TRUE if there are multiple batch values in the data, FALSE otherwise
equation
a character string defining the equation to use. Possible values "withWeight" (default),"withoutWeight"

Value

Returns a formula