Extract the slot of a structure.
shapeSlot(object, slotName = "par", type = "all", as = "vector")
A vector, list or matrix containing the extraction.
An object to extract from, typically a covariance kernel.
Name of the slot to be extracted.
Type of slot to be extracted. Can be either a type of parameter,
"var"
or "all"
.
Type of result wanted. Can be "vector"
, "list"
or "matrix"
.