Arguments
X
a matrix (n*p) containing covariates
standardized through M^(-1/2)
Y
a matrix (n*q) containing dependent variables
AX
a matrix containing additional covariates
family
a vector of charater of length q specifying
the distributions of the responses. Bernoulli, binomial,
Poisson and gaussian are allowed.
size
specifies the numbers of trials of the
binomial responses. A (n*qb) matrix is expected for qb
binomial variables.
offset
used for the poisson dependent variables. A
vector or a matrix of size: number of observations *
number of Poisson dependent variables is expected
ds
an integer specifying the degree to which
structural strength in X is taken into account when
calculating the component
crit
a list of maxit and tol, default is 50 and
10e-6. If responses are bernoulli variables only, tol
should generally be increased.