pcoordplot-methods | R Documentation |
Method pcoordplot displays a parallel coordinates plot, representing the results stored in an IdtMclust-method object.
## S4 method for signature 'IdtMclust'
pcoordplot(x,title="Parallel Coordinate Plot",
Seq=c("AllMidP_AllLogR","MidPLogR_VarbyVar"), model ="BestModel", legendpar=list(), ...)
x |
An object of type “IdtMclust” representing the the clusterig results of an Interval-valued data set obtainde by the function “IdtMclust”. |
title |
The title of the plot. |
Seq |
The ordering of the coordinates in the plot. Available options are: |
model |
A character vector specifying the the model whose solution is to be displayed. |
legendpar |
A named list with graphical parameters for the plot legend. Currently only the base R ‘cex.main’ and ‘cex.lab’ parameters are implemented. |
... |
Graphical arguments to be passed to methods |
IdtMclust, Idtmclust
, plotInfCrt
## Not run:
# Create an Interval-Data object containing the intervals of loan data
# (from the Kaggle Data Science platform) aggregated by loan purpose
LbyPIdt <- IData(LoansbyPurpose_minmaxDt,
VarNames=c("ln-inc","ln-revolbal","open-acc","total-acc"))
#Fit homoscedastic Gaussian mixtures with up to ten components
mclustres <- Idtmclust(LbyPIdt,G=1:10)
plotInfCrt(mclustres,legpos="bottomright")
#Display the results of the best mixture according to the BIC
pcoordplot(mclustres)
pcoordplot(mclustres,model="HomG6C1")
pcoordplot(mclustres,model="HomG4C1")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.