fsmmmdrs.object {fsdaR} | R Documentation |
Description of fsmmmdrs.object
Objects
Description
An object of class fsmmmdrs.object
holds information about
the result of a call to fsmmmdrs
.
Value
The object itself is basically a list
with the following
components:
mmdrs
: Minimum Mahalanobis distance, (n-init) by (nsimul+1) matrix which contains the monitoring of minimum
Mahalanobis distance at each step of the forward search.
1st column = fwd search index (from init to n-1)
2nd column = minimum Mahalanobis distance for random start 1
3rd column ...
nsimul+1 column minimum Mahalanobis distance for random start nsimul
BBrs
: Units belonging to the subset at the steps specified by input option bsbsteps.
If bsbsteps=0
BBrs
has size n-by-(n-init+1)-by-nsimul
. In this
case BBrs[,,j]
with j=1, 2, ..., nsimul has the following structure:
1st row = has number 1 in correspondence of the steps in which unit 1 is included inside subset and a missing value for the other steps
...
(n-1)-th row = has number n-1 in correspondence of the steps in which unit n-1 is included inside subset and a missing value for the other steps
n-th row = has the number n in correspondence of the steps in which unit n is included inside subset and a missing value for the other steps
If, on the other hand, bsbsteps is a vector which specifies the steps of the search in which
it is necessary to store subset, BBrs has size n-by-length(bsbsteps)-by-nsimul
.
In other words, BBrs[,,j]
with j=1, 2, ..., nsimul
has the same structure
as before, but now contains just length(bsbsteps)
columns.
X
: the data matrix X.
The object has class "fsmmmdrs"
.
Examples
## Not run:
data(hbk, package="robustbase")
out <- fsmmmdrs(hbk[,1:3])
class(out)
summary(out)
## End(Not run)