cor_ma {brms}  R Documentation 
(Deprecated) MA(q) correlation structure
Description
This function is deprecated. Please see ma
for the new syntax.
This function is a constructor for the cor_arma
class,
allowing for moving average terms only.
Usage
cor_ma(formula = ~1, q = 1, cov = FALSE)
Arguments
formula 
A one sided formula of the form 
q 
A nonnegative integer specifying the moving average (MA) order of the ARMA structure. Default is 1. 
cov 
A flag indicating whether ARMA effects should be estimated by
means of residual covariance matrices. This is currently only possible for
stationary ARMA effects of order 1. If the model family does not have
natural residuals, latent residuals are added automatically. If

Value
An object of class cor_arma
containing solely moving
average terms.
See Also
Examples
cor_ma(~visitpatient, q = 2)