| plot.mahalDistCens | R Documentation |
Plot method for objects of class "mahalDistCens". It also gives a quantile for outlier detection, based on the Mahalanobis distance theoretical distribution.
## S3 method for class 'mahalDistCens'
plot(x, fitobject, level = 0.99, nlabels = 3, ...)
x |
An object inheriting from class |
fitobject |
Optional. An object inheriting from class |
level |
An optional numeric value in |
nlabels |
Number of observations that should be labeled. Default is 3. |
... |
Additional arguments. |
A ggplot object, plotting the index versus the Mahalanobis distance, if all subject have the same number of observations; or plotting the number of observations per subject versus the Mahalanobis, otherwise.
Fernanda L. Schumacher, Larissa A. Matos, Victor H. Lachos and Katherine L. Valeriano
ggplot, mahalDistCens, smn.clmm
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.