ci_hist: Histogram of super-thinned process

View source: R/nphawkes_functions.R

ci_histR Documentation

Histogram of super-thinned process

Description

This function exports a histogram of the super-thinned process.

Usage

ci_hist(superthin, nbins = 30)

Arguments

superthin

the output from super_thin()

nbins

scalar of the number of bins for the histogram

Value

a histogram of the super-thinned process.

Examples

data("hm.csv")
out = misd(dates = hm$t,
   ref_date = "1999-10-16",
   lat = hm$lat,
   lon = hm$lon,
   marks = hm$m,
   time_breaks = c(0,0.1, 0.5, 1,7,93,600),
   space_breaks = c(0,0.5, 1, 10, 25, 100),
   mark_breaks = c(3, 3.1,3.3, 4, 5, 8),
   just_times = T)
st = super_thin(out, K = "max_ci")
ci_h = ci_hist(st, nbins = 40)

boydpe/nphawkes documentation built on March 31, 2022, 11:03 a.m.