Learn R Programming

DrBats (version 0.1.6)

coinertia.drbats: Perform Coinertia Analysis on the PCA of the Weighted PCA and Deville's PCA

Description

Perform Coinertia Analysis on the PCA of the Weighted PCA and Deville's PCA

Usage

coinertia.drbats(
  X.histo = NULL,
  Qp = NULL,
  X = NULL,
  t = NULL,
  t.range = c(0, 1000),
  breaks
)

Arguments

X.histo

the data matrix projected onto the histogram basis

Qp

a matrix of weights, if Qp = NULL the function specifies a diagonal weight matrix

X

a data matrix, if X.histo is NULL and needs to be built

t

a matrix of observation times, if X.histo is NULL and needs to be built

t.range

the range of observation times in vector form, if X.histo is NULL and needs to be built (default: t.range = c(0, 1000))

breaks

integer number of histogram windows

Value

co_weight the co-inertia object

Examples

Run this code
# NOT RUN {
res <- drbats.simul(N = 5, P = 100, t.range = c(5, 100), breaks = 8)
res.coinertia <- coinertia.drbats(X = res$X, t = res$t.simul, t.range = c(5, 100), breaks = 8)
res.coinertia

# }

Run the code above in your browser using DataLab