mod_is_valid | R Documentation |
Checks if 'mod' argument is valid. This argument must be either '"1"' (indicating an intercept-only model) or a moderator that is included in the meta-analytic model (as specified in 'model$formula.mods').
mod_is_valid(model, mod)
model |
A meta-analytic model from the metafor package. |
mod |
A string specifying the moderator to check. Must be '"1"' or one of
the moderators included in |
A logical value: TRUE
if 'mod' is valid, strop and throw an error otherwise.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.