model.frame.ddformula

model.frame and model.matrix for ddformula

Functions added to handle fixed (time-invariant) intercept coefficient for ddhazard. model.frame.ddformula always has drop.unused.levels = FALSE regardless of the input.

Usage
# S3 method for ddformula
model.frame(formula, data = NULL, subset = NULL,
  na.action = na.fail, xlev = NULL, ...)

# S3 method for ddformula model.matrix(object, data = environment(object), contrasts.arg = NULL, xlev = NULL, ...)

Arguments
formula

Same as model.frame.default

data

Same as model.matrix.default

subset

Same as model.frame.default

na.action

Same as model.frame.default

xlev

Same as model.frame.default

...

Unused

object

Same as model.matrix.default

contrasts.arg

Same as model.matrix.default

Aliases
  • model.frame.ddformula
  • model.matrix.ddformula
Documentation reproduced from package dynamichazard, version 0.3.2, License: GPL-2

Community examples

Looks like there are no examples yet.