Linear model to replace in rxode2 ui model
linMod(
variable,
power,
dv = "dv",
intercept = TRUE,
type = c("replace", "before", "after"),
num = NULL,
iniDf = NULL,
data = FALSE,
mv = FALSE
)
linMod0(..., intercept = FALSE)
linModB(..., type = "before")
linModB0(..., intercept = FALSE, type = "before")
linModA(..., type = "after")
linModA0(..., intercept = FALSE, type = "after")
linModD(..., intercept = TRUE, data = TRUE)
linModD0(..., intercept = FALSE, data = TRUE)
linModM(..., intercept = TRUE, mv = TRUE)
linModM0(..., intercept = FALSE, mv = TRUE)
The variable that the rxode2 will be made on.
The power of the polynomial that will be generated.
the dependent variable to use to generate the initial
estimates from the data. If NULL
query using rxUdfUiData()
.
Boolean that tells if the intercept be generated.
the type of linear model replacement to be used.
the number the particular model is being generated. If
unspecified, query using rxUdfUiNum()
.
the initialization data.frame
, if NULL
query using
rxUdfUiIniDf()
logical that tells if the initial estimates of the linear model should be estimated from the data.
logical that tell if the model variables need to be used to generate model variables.
arguments that are passed to linMod()
for the other
abbreviations of linMod()
a list for use in when generating the rxode2
ui model see
rxUdfUi()
for details.
linMod0()
: linear model without intercept
linModB()
: linear model before where it occurs
linModB0()
: linear model before where the user function occurs
linModA()
: linear model after where the user function occurs
linModA0()
: liner model without an intercept placed after where the user function occurs
linModD()
: linear model where initial estimates are generated from the data
linModD0()
: linear model where initial estimates are generated from the data (no intercept)
linModM()
: linear model where the model variables are used to generate the model variables
linModM0()
: linear model where the model variables are used to generate the model variables (no intercept)
Other User functions:
rxUdfUiControl()
,
rxUdfUiData()
,
rxUdfUiEst()
,
rxUdfUiIniLhs()
,
rxUdfUiMv()
,
rxUdfUiNum()
,
rxUdfUiParsing()
linMod(x, 3)
#> $replace
#> [1] "rx.linMod.x1a+rx.linMod.x1b*x+rx.linMod.x1c*x^2+rx.linMod.x1d*x^3"
#>
#> $iniDf
#> NULL
#>