View source: R/drawHPPIntensity.R
drawHPPIntensity | R Documentation |
Draw the intensity for a homogeneous Poisson process
drawHPPIntensity( hpp = NULL, events, int_title = "Homogeneous Poisson Process", start = 0, end = max(events), color = "red", plot_events = TRUE, fit = FALSE, add = FALSE, verbose = FALSE )
hpp |
object for homogeneous Poisson process |
events |
event times input |
int_title |
the plot title |
start |
start of events |
end |
end of events |
color |
a specification for the default plotting color. |
plot_events |
a boolean indicating whether input events will be plotted |
fit |
a boolean indicating whether to fit a hpp or use the passed object |
add |
whether to add the hpp intensity to an existing plot |
verbose |
whether to output informative messages as running |
no return value, intensity plot of homogeneous Poisson process
pois_y <- pp_hpp(lambda = 1) drawHPPIntensity(pois_y, events = pp_simulate(pois_y, end = 10))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.