formulaDeterminingLambda {PhenStat}R Documentation

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

Author(s)

Natasha Karp


[Package PhenStat version 2.22.0 Index]