Learn R Programming

kergp (version 0.5.7)

covQualNested-class: Class "covQualNested"

Description

Correlation or covariance structure for qualitative inputs (i.e. factors) obtained by nesting.

Arguments

Objects from the Class

Objects can be created by calls of the form new("covQualNested", ...).

Slots

covLevels:

Object of class "function" computing the covariance matrix for the set of all levels.

covLevMat:

Object of class "matrix". The matrix returned by the function in slot covLevels. Since this matrix is often needed, it can be stored rather than recomputed.

hasGrad:

Object of class "logical". If TRUE, the analytical gradient can be computed.

acceptLowerSQRT:

Object of class "logical". If TRUE, the lower square root of the matrix can be returned

label:

Object of class "character". A label to describe the kernel.

d:

Object of class "integer". The number of inputs.

inputNames:

Object of class "character" Names of the inputs.

nlevels:

Object of class "integer" with length d give the number of levels for the factors.

levels:

Object of class "list" with length d. Gives the levels for the inputs.

parLower:

Object of class "numeric". Lower bounds on the (hyper) parameters.

parUpper:

Object of class "numeric". Upper bounds on the (hyper) parameters.

par:

Object of class "numeric". Value of the (hyper) parameters.

parN:

Object of class "integer". Number of (hyper) parameters.

kernParNames:

Object of class "character". Name of the parameters.

group:

Object of class "integer". Group numbers: one for each final level.

groupLevels:

Object of class "character". Vector of labels for the groups.

between:

Object of class "covQual". A covariance or correlation structure that can be used between groups.

within:

Object of class "list". A list of covariance or correlation structures that are used within the groups. Each item has class "covQual".

parNCum:

Object of class "integer". Cumulated number of parameters. Used for technical computations.

contrasts:

Object of class "function". A contrast function like contr.helmod. This function must return a contrast matrix with columns having unit norm.

Extends

Class "covQual", directly. Class "covAll", by class "covQual", distance 2.

Methods

No methods defined with class "covQualNested" in the signature.

Examples

Run this code
showClass("covQualNested")

Run the code above in your browser using DataLab