View source: R/evaluate_category.R
check_data | R Documentation |
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.
check_data(pheno, omit = NULL, na.omit = FALSE)
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. |
A logical value indicating if everything is alright (TRUE
or not (FALSE
).
valid_followup()
.
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.