Learn R Programming

move (version 3.2.2)

getMotionVariance: Extracts the estimated motion variance

Description

This function returns the estimated motion variance calculated by the dynamic Bivariate Gaussian Bridges or dynamic Brownian Bridges

Usage

getMotionVariance(x,...)

Arguments

x

a DBBMM, DBBMMStack, DBBMMBurstStack,dBMvariance, dBMvarianceBurst, dBMvarianceStack, dynBGB or dBGBvariance object

...

Currently not implemented

Value

- a numeric vector of variances if a DBBMM, DBBMMBurstStack, dBMvariance or dBMvarianceBurst object is provided - a list of variances per individual if a DBBMMStack or dBMvarianceStack object is provided - a matrix of the orthogonal and parallel variances if dynBGB or dBGBvariance object is provided

See Also

brownian.bridge.dyn, dynBGB, brownian.motion.variance.dyn, dynBGBvariance, dBMvariance-class, dBGBvariance-class

Examples

Run this code
# NOT RUN {
data(leroydbbmm)
data(dbbmmstack)
getMotionVariance(leroydbbmm)[1:50] ## with a DBBMM object
str(getMotionVariance(dbbmmstack)) ## with a DBBMMStack object
# }

Run the code above in your browser using DataLab