formula {bayesnec} | R Documentation |
Retrieve formulas from models fitted by bnec
Description
Retrieve formulas from models fitted by bnec
.
x
should be of class bayesnecfit
or
bayesmanecfit
.
Usage
## S3 method for class 'bayesnecfit'
formula(x, ...)
## S3 method for class 'bayesmanecfit'
formula(x, model, ...)
Arguments
x |
An object of class |
... |
Unused. |
model |
A valid model string. |
Value
An object of class bayesnecformula
.
Examples
library(bayesnec)
formula(manec_example, model = "nec4param")
nec4param <- pull_out(manec_example, "nec4param")
formula(nec4param)
[Package bayesnec version 2.1.2.0 Index]