shapeSlot: Extracts the Slots of a Structure

View source: R/covTS.R

shapeSlotR 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.


kergp documentation built on May 29, 2024, 10:25 a.m.