UpdateTimeFactor: Update Time factor

View source: R/Update.r

UpdateTimeFactorR Documentation

Update Time factor

Description

Returns a vector representing the temporal component of the baseline.

Usage

UpdateTimeFactor(
  case.df,
  save.on.dir = TRUE,
  get.from.dir = FALSE,
  date.time.field = "week",
  parameters = NULL,
  n.iterations = 20
)

Arguments

case.df

A data.frame containing the events.

save.on.dir

logical. If TRUE then the vector is saved in 'timefactor.RData' file.

get.from.dir

logical. If TRUE then the vector is obtained from the 'timefactor.RData' file.

date.time.field

A character string.

n.iterations

An integer.

Value

A vector

Examples

time.factor = TimeFactor(case.df)

mcavallaro/rancovr documentation built on April 17, 2025, 7:21 p.m.