powered by
Compute maximum likelihood estimator of the rate of a homogeneous Poisson process for the given events.
fithpp(events, end = max(events))
vector containing the event times.
end of observation period, starting from 0 (default is last event)
a hpp object containing the events and the estimated parameter
# NOT RUN { pois_y <- pp_hpp(lambda = 1) events <- pp_simulate(pois_y, end = 10) fithpp(events) # }
Run the code above in your browser using DataLab