print.epichains_summary {epichains}R Documentation

Print an ⁠<epichains_summary>⁠ object

Description

Prints a summary of the ⁠<epichains_summary>⁠ object. In particular, it prints the number of chains simulated, and the range of the statistic, represented as the maximum (max_stat) and minimum (min_stat). If the minimum or maximum is infinite, it is represented as ⁠>= stat_threshold⁠ where stat_threshold is the value of the censoring limit. See ?epichains_summary() for the definition of stat_threshold.

Usage

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

Arguments

x

An ⁠<epichains_summary>⁠ object.

...

Not used.

Value

Invisibly returns an ⁠<epichains_summary>⁠. Called for side-effects.

Author(s)

James M. Azam

Examples

# Using a Poisson offspring distribution and simulating from an infinite
# population up to chain size 10.
set.seed(32)
chain_summary_print_eg <- simulate_chain_stats(
  n_chains = 10,
  statistic = "size",
  offspring_dist = rpois,
  stat_threshold = 10,
  lambda = 2
)
chain_summary_print_eg # Print the object

[Package epichains version 0.1.1 Index]