Last data update: 2014.03.03
|
R: Extracts the slots of a structure
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.
Results
|