load_pop_data {serocalculator}R Documentation

Load a cross-sectional antibody survey data set

Description

Load a cross-sectional antibody survey data set

Usage

load_pop_data(file_path, antigen_isos = NULL)

Arguments

file_path

path to an RDS file containing a cross-sectional antibody survey data set, stored as a data.frame() or tibble::tbl_df

antigen_isos

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

Value

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

Examples

xs_data <- load_pop_data("https://osf.io/download//n6cp3/")

print(xs_data)



[Package serocalculator version 1.0.3 Index]