View source: R/clean-perch-data.R
extract_data_raw | R Documentation |
extract_data_raw
imports and converts the raw data to analyzable formatImport Raw PERCH Data
extract_data_raw
imports and converts the raw data to analyzable format
extract_data_raw(
dat_prepared,
strat_nm,
strat_val,
meas_object,
extra_covariates = NULL
)
dat_prepared |
The data set prepared in |
strat_nm |
The vector of covariate names to separately extract data.
For example, in PERCH data cleaning, |
strat_val |
The list of covariate values to stratify data.
Each element corresponds to elements in |
meas_object |
A list of bronze-standard or silver-standard measurement
objects made by function |
extra_covariates |
The vector of covariate name for regression purposes. The default is NULL, which means not reading in any covariate. |
A list of data.
A list of Bronze-Standard (BrS) measurements.
The names of the list take the form of specimen
_test
.
Each element of the list is a data frame. The rows of the data frame
are for subjects; the columns are for measured pathogens.
A list of Silver-Standard (SS) measurements.
The formats are the same as MBS
above.
A list of Gold-Standard (GS) measurements.
It equals NULL
if no GS data exist.
A data frame with columns specified by extra_covariates
.
clean_perch_data()
Other raw data importing functions:
read_meas_object()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.