opsr_null_model {OPSR}R Documentation

Null Model for OPSR Model fits

Description

Intercept-only model with no error correlation.

Usage

opsr_null_model(object, ...)

Arguments

object

an object of class "opsr".

...

further arguments passed to opsr.

Value

An object of class ⁠"opsr.null" "opsr"⁠.

Examples

sim_dat <- opsr_simulate()
dat <- sim_dat$data
model <- ys | yo ~ xs1 + xs2 | xo1 + xo2
fit <- opsr(model, dat)
fit_null <- opsr_null_model(fit)
summary(fit_null)

[Package OPSR version 1.0.0 Index]