make_meas_object: Make measurement slice

Description Usage Arguments Value See Also Examples

View source: R/clean-perch-data.R

Description

Wrap the information about a particular type of measurement, e.g., NPPCR. NB: add example! copy some from the vignette file.

Usage

1
make_meas_object(patho, specimen, test, quality, cause_list, sep_char = "_")

Arguments

patho

A vector of pathogen names

specimen

Specimen name

test

Test name

quality

Quality category: any of "BrS", "SS" or "GS".

cause_list

The vector of potential latent status

sep_char

a character string that separate the pathogen names and the specimen-test pair; Default to "_"

Value

A list with measurement information

See Also

make_template()

Examples

1
2
3
4
5
6
make_meas_object(
patho = c("A","B","C","D","E","F"), 
specimen = "MBS",
test = "1",
quality = "BrS", 
cause_list = c("A","B","C","D","E"))

baker documentation built on Feb. 2, 2022, 9:06 a.m.