ClassSDHplot | R Documentation |
SDHplot the data for allclasses, weight the Plot with priors
ClassSDHplot(Data, Cls, ColorSequence, ColorSymbSequence, PlotLegend, LineWidth, ...)
Data |
the Data to be plotted |
Cls |
vector of class identifiers can be integers or NaN's, need not be consecutive nor positive |
ColorSequence |
the sequence of colors used, if ==0 r not given: DefaultColorSequence |
ColorSymbSequence |
the plot symbols used if there are less than 7 classes only the first symbol is used, otherwise the ColorSymbSequence is: '.sdv<>ph+*xo' |
PlotLegend |
==TRUE (default) add a legent to plot |
LineWidth |
Line width for the PDF (default:==1) |
... |
Further arguments passed on to |
none
List with
SDH |
(1:nbins) Smoothed Density Histogam for x at |
Kernels |
(1:nbins) locations such that plot(Kernels,SDH) gives the Smoothed Density Histogam |
in mode invisible
ColorSymbSequence not implemented yet.
Alfred Ultsch (matlab), reeimplemented in R by Michael Thrun, 2019
none so far
SDHplot
SmoothDensHist1D
Data=c(rnorm(100,0,1),rnorm(100,5,1))
Cls=c(rep(1,100),rep(2,100))
ClassSDHplot(Data, Cls)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.