check_data {experDesign} | R Documentation |
Check experiment data
Description
In order to run a successful experiment a good design is needed even before measuring the data. This functions checks several heuristics for a good experiment and warns if they are not found.
Usage
check_data(pheno, omit = NULL, na.omit = FALSE)
Arguments
pheno |
Data.frame with the variables of each sample, one row one sample. |
omit |
Character vector with the names of the columns to omit. |
na.omit |
Check the effects of missing values too. |
Value
A logical value indicating if everything is alright (TRUE
or not (FALSE
).
See Also
Examples
rdata <- expand.grid(sex = c("M", "F"), class = c("lower", "median", "high"))
rdata2 <- rbind(rdata, rdata)
check_data(rdata2)
#Different warnings
check_data(rdata)
check_data(rdata[-c(1, 3), ])
data(survey, package = "MASS")
check_data(survey)
[Package experDesign version 0.4.0 Index]