atest | R Documentation |
add Test-statement to predefined dataframe
atest(object, expect, description, test_df = test_dataframe, assign = TRUE)
object |
The object to be testet (should be a vector). In case of a list only first element will be used for evaluation. |
expect |
Character. Statement to be evaluated |
description |
A description of the test. Must be unique for all collected tests within the dataframe. |
test_df |
Specify dataframe where evaluation should be added. |
assign |
Logical. Choose TRUE to add the evaluation to the test_df. |
utest
, stest
atest(iris$Species, "%in% c('setosa', 'virginica', 'versicolor')")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.