View source: R/switch.density.R
switch.density | R Documentation |
Density plot
switch.density(x, time.points, make.plotly = T, plot.type = "density",
show.line = T, title = "Density of switch points", ...)
x |
a numeric vector to plot th density. |
time.points |
a numeric vector of the time points of time-series, e.g. 1,2,3,... |
make.plotly |
logical, to plot |
plot.type |
the plot types. Options are "density" for density bar plot and "frequency" for frequency bar plot. |
show.line |
logical, to show density or frequency line or not? |
... |
additional parameters pass to |
titile |
the title of the plot. |
density plot in ggplot2 format or plotly
format if make.plotly=T
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.