dot-is_model_valid: Validate Model Argument

.is_model_validR Documentation

Validate Model Argument

Description

Checks if a model argument is valid for meta-analysis: - It is not missing or NULL - It is a metafor package object (rma.mv, rma, etc.)

Usage

.is_model_valid(model)

Arguments

model

object. A model object from the metafor package (rma.mv, rma, rma.uni, or robust.rma)

Value

logical. TRUE if the model is valid, otherwise stops with an error message

Author(s)

Facundo Decunta - fdecunta@agro.uba.ar


daniel1noble/orchaRd documentation built on April 17, 2025, 3:59 a.m.