assertall | R Documentation |
brmsfit
Model ObjectThese are a set of internal utility functions.
They are not intended for general use.
Instead, they are intended to be called in circumstances
where the expected result is TRUE
.
All of them are designed to try to give informative error
messages if the assertion is not met.
All of them result in a stop()
error if the assertion is not met.
.assertbrmsfit(object) .assertgaussian(object) .assertfamily(object) .assertdpar(object, dpar) .assertlink(object, dpar)
object |
A |
dpar |
Required for |
.assertbrmsfit
asserts that the object should be of class brmsfit
.
.assertgaussian
asserts that all random effects are Gaussian.
.assertfamily
asserts that the distribution (family) of the outcome is a currently supported family. Only applies when integrating out random effects.
.assertlink
asserts that the link function is a currently supported link function. Only applies when integrating out random effects.
An invisible, logical TRUE
if the assertion is met.
An (informative) error message if the assertion is not met.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.