.check_is_estimate | R Documentation |
Utility function to check whether an object is a valid estimates object.
It must be a dataframe and have an index column named index_col_name
that doesn't contain any NA
values.
.check_is_estimate(user_input, parameter_name, index_col_name)
user_input |
The variable to be tested |
parameter_name |
A string containing the name the tested parameter had in the initial function in which it was passed. |
index_col_name |
string. Name of the index column in the |
TRUE if all tests were passed. Throws an error otherwise.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.