data_check | R Documentation |
The function checks if the argument data
points to a data frame which is suitable for further price index calculation. In particular, the function checks whether the indicated data frame contains the required columns and whether they are of the appropriate type (if not, the function returns FALSE and an appropriate comment).
data_check(data)
data |
Any R object but ultimately it is a data frame. |
The function returns TRUE if the data frame indicated by the data
parameter is suitable for the calculation of price indices and returns FALSE otherwise.
data_check(milk)
data_check(iris)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.