Usage
check_mcmcr(x, sorted = FALSE, x_name = substitute(x), error = TRUE)
Arguments
sorted
A flag specifying whether the parameters must be sorted.
x_name
A string of the name of the object.
error
A flag indicating whether to throw an informative error or immediately generate an informative message if the check fails.
Value
An invisible copy of x (it if doesn't throw an error).
Examples
Run this code# NOT RUN {
check_mcmcr(mcmcr::mcmcr_example)
# }
Run the code above in your browser using DataLab