pdDiag-class {Matrix} | R Documentation |
A class of parameterized diagonal positive-definite matrices.
Objects can be created by calls of the form new("pdDiag", ...)
or
by calls to the constructor function pdDiag
.
form
:"formula", from class
"pdMat"
an optional formula used to generate the object.Names
:"character", from class
"pdMat"
row (and column) names for the matrix.param
:"numeric", from class
"pdMat"
the unconstrained, numeric parameter vector of length
Ncol
. The elements of the parameter vector are the
logarithms of the square roots of the diagonal elements of the matrix. Ncol
:"integer", from class
"pdMat"
the number of rows and columns in the matrix. factor
:"matrix", from class
"pdMat"
a square-root factor of the matrix - also a diagonal
matrix.logDet
:"numeric", from class
"pdMat"
the logarithm of the absolute value of the determinant
of the factor.
Class "pdMat"
, directly.
signature(x = "pdDiag")
: extract the parameters.signature(object = "pdDiag", value =
"numeric")
: assign the parameters.signature(from = "pdDiag", to = "matrix")
:
extract the matrix.signature(object = "pdDiag")
: extract the
correlation matrix. signature(x = "pdDiag")
: extract the dimensions.signature(object = "pdDiag")
: check if initialized.signature(object = "pdDiag", covariate =
"missing")
: return the logarithm of the determinant of the matrix.signature(a = "pdDiag", b = "missing")
: invert
the matrix returning a pdDiag
object.