check_pop_data: Check the formatting of a cross-sectional antibody survey...

View source: R/check_pop_data.R

check_pop_dataR Documentation

Check the formatting of a cross-sectional antibody survey dataset.

Description

Check the formatting of a cross-sectional antibody survey dataset.

Usage

check_pop_data(pop_data, verbose = FALSE)

Arguments

pop_data

dataset to check

verbose

whether to print an "OK" message when all checks pass

Value

NULL (invisibly)

Examples

library(magrittr)

xs_data <-
  serocalculator_example("example_pop_data.csv") %>%
  read.csv() %>%
  as_pop_data()

check_pop_data(xs_data, verbose = TRUE)


serocalculator documentation built on April 3, 2025, 7:35 p.m.