starvz_check_data | R Documentation |
The following conditions are check in order and return FALSE if any fail - If data is not NULL - If data is a StarVZ Class - If data has all tables (given by the names of the list tables) - If each respective table has all columns (given the associated vector) - Execute extra_func on data (that should return true or false)
starvz_check_data(data = NULL,
tables = list(), extra_func = NULL)
data |
starvz_data with trace data |
tables |
A named list (names are tables of data) of vectors (elements are columns), if tables is null continue |
extra_func |
Extra function to be applied on data to do a last check |
Logical, TRUE if data pass all tests
starvz_check_data(starvz_sample_lu,
tables = list("Comm_state" = c("Node"))
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.