FLQuantJK | R Documentation |
This extended FLQuant class holds both a jackknifed FLQuant, one in which each
iter is missing one element, and the original object, as a separate
FLQuant
in the orig
slot.
## S4 method for signature 'ANY'
FLQuantJK(object, orig)
## S4 method for signature 'FLQuantJK'
orig(object)
## S4 method for signature 'FLQuants'
orig(object)
object |
Input numeric object |
... |
Additonal arguments |
Unnamed slot containing the jackknifed object(FLQuant).
Original object, (FLQuant).
.Data and orig slots must have the same dimensions 1-5.
.Data and var slots must have the same dimnames 1-5.
You can inspect the class validity function by using
getValidity(getClassDef('FLQuantJK'))
All slots in the class have accessor and replacement methods defined that allow retrieving and substituting individual slots.
The values passed for replacement need to be of the class of that slot. A numeric vector can also be used when replacing FLQuant slots, and the vector will be used to substitute the values in the slot, but not its other attributes.
Objects of this class must be constructed from an FLQuant that
is to be jackknifed, through the jackknife
method.
All methods defined for the FLQuant class are available, but
they will operate only on the jackknifed (.Data
) slot. Please use
orig()
to apply them to the original object stored in the class.
The FLR Team
FLQuant
data(ple4)
fjk <- jackknife(stock(ple4))
# New object has as many iters as length of jackknifed dimension (defaults to 'year')
dim(fjk)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.