Learn R Programming

serocalculator (version 1.4.0)

load_sr_params: Load longitudinal seroresponse parameter samples

Description

Load longitudinal seroresponse parameter samples

Usage

load_sr_params(file_path, antigen_isos = NULL)

Value

a curve_params object (a tibble::tbl_df

with extra attribute antigen_isos)

Arguments

file_path

path to an RDS file containing MCMC samples of antibody seroresponse parameters y0, y1, t1, alpha, and r, stored as a data.frame() or tibble::tbl_df

antigen_isos

character() vector of antigen isotypes used in analyses

Examples

Run this code
curve <- load_sr_params(serocalculator_example("example_curve_params.rds"))

print(curve)

Run the code above in your browser using DataLab