plot_intensity | R Documentation |
Plot the intensity of an NHPP fit
plot_intensity(x, ...)
x |
An NHPP |
... |
currently ignored |
A ggplot2::ggplot()
object
# Plot the estimated intensity function
plot_intensity(fit_nhpp(DataCPSim, tau = 826))
# Segment a time series using PELT
mod <- segment(bogota_pm, method = "pelt")
# Plot the estimated intensity function for the NHPP model using the
# changepoints found by PELT
plot_intensity(fit_nhpp(bogota_pm, tau = changepoints(mod)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.