View source: R/DualaxisClassplot.R
DualaxisClassplot | R Documentation |
Allows to plot two time series or features with one or two classification(a) as labeled scatter plots. The colors are the labels defined by the classification. Usefull to see if temporal clustering has time dependent variations and for Hidden Markov Models (see Mthrun/RHmm on GitHub).
DualaxisClassplot(X, Y1, Y2, Cls1,
Cls2, xlab = "X", y1lab = "Y1", y2lab = "Y2",
main = "Dual Axis Class Plot", Colors, Showgrid = TRUE, SaveIt = FALSE)
X |
[1:n] numeric vector or time |
Y1 |
[1:n] numeric vector of feauture |
Y2 |
[1:n] numeric vector of feauture |
Cls1 |
[1:n] numeric vector defining a classification of k1 classes |
Cls2 |
Optional, [1:n] numeric vector defining a classification of k2 classes for |
xlab |
Optional, string |
y1lab |
Optional, string |
y2lab |
Optional, string |
main |
Optional, string |
Colors |
[1:(k1+k2)] Colornames |
Showgrid |
Optional, boolean |
SaveIt |
Optional, boolean |
plotly object
Michael Thrun
Classplot
##ToDo
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.