ComputeCope(Z, level, X = NULL, w = NULL, correlation = NULL,
corpar = NULL, groups = NULL, V = NULL, alpha = 0.1, N = 1000,
mu = NULL, mask = NULL)
correlation
function. Should have the same length as X
.Z$z
. See Details.V
argument is a 4-dimensional array containing the covariance
matrices associated with Z$z
. Specifically, V[i,j,,]
is the
covariance matrix of the data in Z$z[i,j,]
. If V
is specified,
then the covariance matrix in each element of the array is used to transform
X
and the appropriate element of Z$z
before fitting the linear
model. This is used in place of estimating the covariance matrix withing the
nlme::gls
function.# An example using the ToyNoise and ToySignal of this package.
## Not run: ------------------------------------
# n = 30
# Data = ToyNoise1(n = n)
# Data$z = Data$z + rep(ToySignal()$z, n)
# CopeSet = ComputeCope(Data,level=4/3, mu=ToySignal()$z)
# PlotCope(CopeSet)
## ---------------------------------------------
Run the code above in your browser using DataLab