Crosspred: Crosspred class

Description Methods

Description

This class defines and computes a prediction for Crosspred

Methods

Public methods


Method new()

Usage
Crosspred$new(
  crossbasis,
  model,
  at,
  coef = NULL,
  vcov = NULL,
  cen = NULL,
  ci.level = 0.95,
  cumul = FALSE,
  model.link = NULL
)

Method plotExposure()

Usage
Crosspred$plotExposure(filepath = NULL, title = NULL)

Method plotLagAt()

Usage
Crosspred$plotLagAt(
  at,
  filepath = NULL,
  title = NULL,
  xDist = 0.1,
  colours = colourPalette,
  legendPos = c(0.5, 0.1)
)

Method clone()

The objects of this class are cloneable with this method.

Usage
Crosspred$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.


schnecki/dlnm.interaction documentation built on Feb. 14, 2022, 5:10 a.m.