ClassSDHplot: Class-wise SDH plot

View source: R/ClassSDHplot.R

ClassSDHplotR Documentation

Class-wise SDH plot

Description

SDHplot the data for allclasses, weight the Plot with priors

Usage

ClassSDHplot(Data, Cls, ColorSequence, ColorSymbSequence, PlotLegend, LineWidth, ...)

Arguments

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 plot and points

Details

none

Value

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

Note

ColorSymbSequence not implemented yet.

Author(s)

Alfred Ultsch (matlab), reeimplemented in R by Michael Thrun, 2019

References

none so far

See Also

SDHplot SmoothDensHist1D

Examples

Data=c(rnorm(100,0,1),rnorm(100,5,1))
Cls=c(rep(1,100),rep(2,100))

ClassSDHplot(Data, Cls)


Mthrun/dbt.FlowCytometry documentation built on June 5, 2023, 10:30 a.m.