UpgradeBaselineMatrix: Upgrade baseline matrix

View source: R/Update.r

UpgradeBaselineMatrixR Documentation

Upgrade baseline matrix

Description

Create a new baseline matrix to match the new observation matrix and makes new fit for the temporal factor.

Usage

UpgradeBaselineMatrix(
  previous.baseline.matrix,
  case.df.old,
  case.df.new,
  save.on.dir = FALSE,
  date.time.field = "week",
  postcode.field = "postcode",
  n.iterations = 10
)

Arguments

save.on.dir

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

date.time.field

A character string.

postcode.field

A character string.

Value

A 2D matrix


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