Learn R Programming

serocalculator (version 1.4.0)

as_sr_params: Load longitudinal seroresponse parameters

Description

Load longitudinal seroresponse parameters

Usage

as_sr_params(data, antigen_isos = NULL)

Value

a curve_data object (a tibble::tbl_df with extra attribute antigen_isos)

Arguments

data

a data.frame() or tibble::tbl_df

antigen_isos

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

Examples

Run this code
library(magrittr)
curve_data <-
  serocalculator_example("example_curve_params.csv") %>%
  read.csv() %>%
  as_curve_params()

print(curve_data)

Run the code above in your browser using DataLab