SDHplot | R Documentation |
plot smoothed density estimation SDH
SDHplot(x, PlotColor, PlotSymbol, Weight, Kernels = NULL, LineWidth, Overlay = FALSE, ...)
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 |
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
PlotSymbol Not implemented yet.
Alfred Ultsch (matlab), reeimplemented in R by Michael Thrun, 2019
none so far
SmoothDensHist1D
x=runif(100)
SDHplot(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.