linMod {rxode2}R Documentation

Linear model to replace in rxode2 ui model

Description

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 using rxUdfUiData().

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, if NULL query using rxUdfUiIniDf()

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 of linMod()

Value

a list for use in when generating the rxode2 ui model see rxUdfUi() for details.

Functions

Author(s)

Matthew L. Fidler

See Also

Other User functions: rxUdfUiData(), rxUdfUiEst(), rxUdfUiIniLhs(), rxUdfUiMv(), rxUdfUiNum(), rxUdfUiParsing()

Examples


linMod(x, 3)

[Package rxode2 version 3.0.2 Index]