Skip to contents

Class initializer for an NLME profile perturbation variable

Arguments

effectName

Name of fixed effect

initialvalue

Initial value

pertubateValues

Values to perturbate by (either delta or percentage), given as a single comma-separated character string (e.g. "-2,0,2"). The value must be character and list at least one perturbation; an empty or whitespace-only string is rejected at construction.

Examples

ProfileVar("tvV", 9.95, "-2,-1,0,1,2")
#> An object of class "ProfileVar"
#> Slot "effectName":
#> [1] "tvV"
#> 
#> Slot "initialValue":
#> [1] 9.95
#> 
#> Slot "pertubateValues":
#> [1] "-2,-1,0,1,2"
#>