Computes the compensator for included point processes

pp_compensator(object, events)

# S3 method for default
pp_compensator(object, events)

# S3 method for mmpp
pp_compensator(object, events)

# S3 method for hp
pp_compensator(object, events)

# S3 method for mmhp
pp_compensator(object, events)

# S3 method for hpp
pp_compensator(object, events)

Arguments

object

a point process model

events

event times, which can have first value as 0

Value

compensator vector of rescaled interevent times

Examples

hpp_obj <- pp_hpp(lambda = 1) events <- pp_simulate(hpp_obj, end = 10) comp <- pp_compensator(hpp_obj, events)