Linear model to replace in rxode2 ui model
Usage
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)
Arguments
- variable
The variable that the rxode2 will be made on.
- power
The power of the polynomial that will be generated.
- dv
the dependent variable to use to generate the initial estimates from the data. If
NULL
query usingrxUdfUiData()
.- intercept
Boolean that tells if the intercept be generated.
- type
the type of linear model replacement to be used.
- num
the number the particular model is being generated. If unspecified, query using
rxUdfUiNum()
.- iniDf
the initialization
data.frame
, ifNULL
query usingrxUdfUiIniDf()
- data
logical that tells if the initial estimates of the linear model should be estimated from the data.
- mv
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 oflinMod()
Value
a list for use in when generating the rxode2
ui model see
rxUdfUi()
for details.
Functions
linMod0()
: linear model without interceptlinModB()
: linear model before where it occurslinModB0()
: linear model before where the user function occurslinModA()
: linear model after where the user function occurslinModA0()
: liner model without an intercept placed after where the user function occurslinModD()
: linear model where initial estimates are generated from the datalinModD0()
: 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 variableslinModM0()
: linear model where the model variables are used to generate the model variables (no intercept)
See also
Other User functions:
rxUdfUiControl()
,
rxUdfUiData()
,
rxUdfUiEst()
,
rxUdfUiIniLhs()
,
rxUdfUiMv()
,
rxUdfUiNum()
,
rxUdfUiParsing()