Description Usage Arguments Value
View source: R/extract-data-raw.R
Convert raw data sheet to analyzable format
1 2 | extract_data_raw(Pathogen, Specimen, Test, X, Xval, meas_dir,
extra_covariates = NULL, silent = TRUE, individual = NULL)
|
Pathogen |
The vector of pathogen names. It will be reordered according according to pathogen_type (alphabetical order, "B"->"F"->"V") |
Specimen |
The vector of specimen names |
Test |
The vector of test names |
X |
The vector of covariate names to separately extract data.
For example, in PERCH data cleaning, |
Xval |
The list of covariate values to stratify data.
Each element corresponds to that in |
meas_dir |
The directory to the data set (.csv) |
extra_covariates |
The vector of covariate name for regression purposes. The default is NULL, which means no such covariate is necessary. |
silent |
Default is |
individual |
index for an individual to print his/her measurements |
A list of data. Each element is either a measurement matrix, or a vector of covariate values
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.