powered by
Load a cross-sectional antibody survey data set
load_pop_data(file_path, ...)
a pop_data object (a tibble::tbl_df with extra attributes)
pop_data
path to an RDS file containing a cross-sectional antibody survey data set, stored as a data.frame() or tibble::tbl_df
data.frame()
Arguments passed on to as_pop_data
as_pop_data
data
a data.frame() or tibble::tbl_df
antigen_isos
character() vector of antigen isotypes to be used in analyses
character()
age
a character() identifying the age column
id
a character() identifying the id column
value
a character() identifying the value column
standardize
a logical() to determine standardization of columns
logical()
xs_data <- load_pop_data(serocalculator_example("example_pop_data.rds")) print(xs_data)
Run the code above in your browser using DataLab