SDHplot: SDHplot

View source: R/SDHplot.R

SDHplotR Documentation

SDHplot

Description

plot smoothed density estimation SDH

Usage

SDHplot(x, PlotColor, PlotSymbol, Weight, Kernels = NULL, LineWidth, Overlay = FALSE, ...)

Arguments

x

Vector of Data to be plotted

PlotColor

Parameter for plotting PDE see Function plot, blue if omitted

PlotSymbol

Parameter for plotting PDE see Function plot, '-' if omitted

Weight

Weight*ParetoDensity is plotted, Weight==1, if omitted

Kernels

the x points of the PDE function or ==0(default), => need to calculate Kernels

LineWidth

linewith of the PDE plot, see plot(...,'LineWidth',...I)

Overlay

FALSE: calls plot, TRUE: calls points

...

Further arguments passed on to either plot or 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

PlotSymbol Not implemented yet.

Author(s)

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

References

none so far

See Also

SmoothDensHist1D

Examples

x=runif(100)
SDHplot(x)

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