shapeSlot {kergp}R Documentation

Extracts the Slots of a Structure

Description

Extract the slot of a structure.

Usage

shapeSlot(object, slotName = "par", type = "all", as = "vector")

Arguments

object

An object to extract from, typically a covariance kernel.

slotName

Name of the slot to be extracted.

type

Type of slot to be extracted. Can be either a type of parameter, "var" or "all".

as

Type of result wanted. Can be "vector", "list" or "matrix".

Value

A vector, list or matrix containing the extraction.

Note

This function is for internal use only.


[Package kergp version 0.5.7 Index]