mydiagPlot {ltsspca} | R Documentation |
Make diagnostic plot using the estimated PC subspace
Description
Make diagnostic plot using the estimated PC subspace
Usage
mydiagPlot(x, obj, k, alpha = 0.5, co.sd = 0.25)
Arguments
x |
the input data matrix |
obj |
the returned output from rwltsspca |
k |
dimension of the PC subspace |
alpha |
the robust parameter which takes value between 0 to 0.5, default is 0.5 |
co.sd |
cutoff value for score outlier weight, default is 0.25 |
Value
the diagnostics of outliers
od |
the orthgonal distances with respect to the k-dimensional PC subspace |
ws.od |
if the observation is outlying in the orthgonal complement of the PC subspace |
co.od |
the cutoff value for orthogonal distances |
sc.wt |
the score outlier weight, which is compared with 0.25 (by default) to flag score outliers |
ws.sd |
if the observation is outlying with the PC subspace |
co.sd |
the cutoff value for score outlier weight, default is 0.25 |
sc.out |
the retruned object when computing the score outlier weights |