generate_phis: Generate FOI phis - INACTIVE

View source: R/infection_model_likelihoods.R

generate_phisR Documentation

Generate FOI phis - INACTIVE

Description

Calculates the seasonal spline for calc_phi_probs_spline

Usage

generate_phis(foi, knots, theta, n_years, buckets, degree = 2)

Arguments

foi

vector of force of infections per year

knots

vector of knots for the spline

theta

vector of theta parameters for spline

n_years

number of years to calculate

buckets

number of buckets per year (12 for monthly, 1 for annual)

degree

degree of the spline

Value

a vector of FOIs for each time point


seroanalytics/serosolver documentation built on Dec. 14, 2024, 5:33 a.m.