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 dimensionality of the affect process.
- theta
Optional. New attractor strength (scalar or matrix).
- mu
Optional. New attractor location (scalar or vector).
- gamma
Optional. New diffusion coefficient (scalar or lower triangular matrix). Only
gammaorsigmacan be specified, not both. Ifsigmais provided,gammais computed via Cholesky decomposition.- sigma
Optional. New noise covariance (scalar or positive semi-definite matrix). Only
gammaorsigmacan be specified, not both. Ifgammais provided,sigmais computed asgamma %*% t(gamma).- ...
Additional arguments (unused)
Value
Updated affectOU object