set_priors_rf: Set priors associated with risk factors of new infection

View source: R/sf_data_priors_risk_factors.R

set_priors_rfR Documentation

Set priors associated with risk factors of new infection

Description

Set priors associated with risk factors of new infection

Usage

set_priors_rf(
  x = STOCfree_data(),
  risk_factor = character(),
  modality = NULL,
  mean = NULL,
  sd = NULL
)

Arguments

x

an object of class STOCfree_data

risk_factor

name of the risk factor for which priors are defined

modality

name of the modality for which priors are defined. Only applies to categorical risk factors.

mean

mean of the normal distribution used as a prior

sd

standard deviation of the normal distribution used as a prior


AurMad/STOCfree documentation built on Sept. 13, 2022, 3:20 a.m.