Validates class and structure of MCMC objects.

vld_mcmcarray(x)

vld_mcmcr(x)

vld_mcmcrs(x)

Arguments

x

The object to check.

Value

A flag indicating whether the object was validated.

Details

To just validate class use chk::vld_s3_class().

Functions

See also

Examples

#' vld_mcmcarray
vld_mcmcarray(1)
#> [1] FALSE

# vld_mcmcr
vld_mcmcr(1)
#> [1] FALSE
vld_mcmcr(mcmcr::mcmcr_example)
#> [1] TRUE

# vld_mcmcrs
vld_mcmcrs(1)
#> [1] FALSE