Skip to contents

Summarize a reporting_triangle object

Usage

# S3 method for class 'reporting_triangle'
summary(object, ...)

Arguments

object

A reporting_triangle object to summarize.

...

Additional arguments not used.

Value

Invisibly returns the object.

Examples

# Display summary statistics
summary(example_reporting_triangle)
#> Reporting Triangle Summary
#> Dimensions: 5 x 4
#> Reference period: 2024-01-01 to 2024-01-05
#> Max delay: 3 days
#> Structure: 1, 0, 1, 1
#> Most recent complete date: 2024-01-01 (165 cases)
#> Dates requiring nowcast: 4 (complete: 1)
#> Rows with negatives: 0
#> Zeros: 0 (0% of non-NA values)
#> Zeros per row summary:
#>    Min. 1st Qu.  Median    Mean 3rd Qu.    Max. 
#>       0       0       0       0       0       0 
#> 
#> Mean delay summary (complete rows):
#>    Min. 1st Qu.  Median    Mean 3rd Qu.    Max. 
#>  0.7879  0.7879  0.7879  0.7879  0.7879  0.7879 
#> 
#> 99% quantile delay (complete rows):
#>    Min. 1st Qu.  Median    Mean 3rd Qu.    Max. 
#>       3       3       3       3       3       3