shapeSlot: Extracts the Slots of a Structure

Description Usage Arguments Value Note

View source: R/covTS.R

Description

Extract the slot of a structure.

Usage

1
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 March 18, 2021, 5:06 p.m.