Learn R Programming

serocalculator (version 1.3.0)

load_curve_params: Load antibody decay curve parameter samples

Description

Load antibody decay curve parameter samples

Usage

load_curve_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 decay curve parameters y0, y1, t1, alpha, and r, stored as a data.frame() or tibble::tbl_df

antigen_isos

character() vector of antigen isotypes to be used in analyses

Examples

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

print(curve)

Run the code above in your browser using DataLab