Date events uniformly over the year
with_uniform_times.RdThe same events at times spread uniformly over the year: each year's
losses take sorted uniform draws, in their order, from a stream of the
generator keyed by the set's seed apart from the losses' own, so the
losses are unchanged and any year replays alone. Reinstatements pro rata
as to time (xol_layer(pro_rata_time = TRUE)) need them.
Value
An event_set whose losses carry times; event_times() reads
them.
Examples
ev <- with_uniform_times(simulate_events(poisson_count(3), lognormal(0, 1), 10, seed = 1))
event_times(ev, 1)
#> [1] 0.9525944