subFim.Rd
subFim(fim, inds)
works just like fim[inds, inds]
.
Use subFim
instead of normal matrix subsetting functions to preserve attributes.
subFim(fim, inds)
A matrix with row and column names containing the FIM,
as produced by calcFimFromMatrix
or calcFimFromModel
.
Vector of indices of elements to keep. They may be provided as numerals or names.
The submatrix fim[inds, inds]
.
Returns NULL
and prints an error if the input fim
is not a valid FIM.
Returns the input fim
and prints an error if the result of subsetting is not a valid FIM.
This should not be possible.
Other retrieval functions:
[.keepattr()
,
getAllParsFim()
,
getAllParsVariations()
,
getParVecFim()
,
getParVecVariations()
,
getParsFim()
,
getParsVariations()