clean_pop_data {serocalculator} | R Documentation |
Reformat a cross-sectional antibody survey dataset
Description
Reformat a cross-sectional antibody survey dataset
Usage
clean_pop_data(pop_data)
Arguments
pop_data |
a
|
Value
A data.frame (or tibble::tbl_df) containing the following columns:
-
id
: acharacter()
variable identifying multiple rows of data from the same person -
antigen_isos
: acharacter()
variable indicating the antigen-isotype measured -
value
: the measured antibody concentration -
age
: age of the individual whose serum has been assayed, at the time of blood sample
Examples
xs_data <- load_pop_data("https://osf.io/download//n6cp3/")
clean_pop_data(xs_data)