Skip to contents

Prints a formatted table of forecast cumulative events with confidence bounds.

Usage

# S3 method for class 'nhpp_predict'
print(x, ...)

Arguments

x

An object of class nhpp_predict.

...

Additional arguments (not used).

Value

Invisibly returns the input object.

Examples

time <- c(200, 400, 600, 800, 1000)
event <- c(3, 5, 4, 7, 6)
fit <- nhpp(time, event)
fc <- predict_nhpp(fit, time = c(1500, 2000))
print(fc)
#> NHPP Forecast (Power Law) 
#> -------------------------- 
#>  Time Cum.Events Lower (95%) Upper (95%)
#>  1500       40.9        26.9        62.1
#>  2000       57.8        36.9        90.5