Modify the parameters of an Ornstein-Uhlenbeck (OU) model.
Usage
# S3 method for class 'affectOU'
update(
object,
ndim = NULL,
theta = NULL,
mu = NULL,
gamma = NULL,
sigma = NULL,
...
)Arguments
- object
An object of class
affectOU.- ndim
Optional. New number of affect dimensions modelled.
- theta
Optional. New value for how quickly affect returns to baseline (a single number or a matrix).
- mu
Optional. New baseline affect the process returns to (a single number or a vector).
- gamma
Optional. New value for how strongly affect responds to ongoing random fluctuation (a single number or a lower triangular matrix). Specify either
gammaorsigma, not both. Ifsigmais provided,gammais computed via Cholesky decomposition.- sigma
Optional. New noise covariance: how much random fluctuation drives each dimension and how those fluctuations move together (a single number or a symmetric, positive semi-definite matrix). Specify either
gammaorsigma, not both. Ifgammais provided,sigmais computed asgamma %*% t(gamma).- ...
Additional arguments (unused)
Value
Updated affectOU object