View source: R/check_template.R
| CheckTemplate | R Documentation |
CheckTemplate function check the template inputted from users to
ensure they are acceptable to downstream functions.
CheckTemplate(template)
template |
a data frame. It is the input data from users for analysis |
Function CheckTemplate checks the template file inputted by
users. If the template contains problems, an error will raise and a message
will given to user for checking their files.
Non
Jing Tang jing.tang@helsinki.fi Shuyu Zheng shuyu.zheng@helsinki.fi
data <- read.csv(system.file("template.csv", package = "TidyComb"),
stringsAsFactors = FALSE)
CheckTemplate(data)
# Check some messy to data
# data_m <- data[, -2]
# CheckTemplate(data_m)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.