Learn R Programming

epichains (version 0.1.1)

print.epichains: Print an <epichains> object

Description

Print an <epichains> object

Usage

# S3 method for epichains
print(x, ...)

Value

Invisibly returns an <epichains>. Called for side-effects.

Arguments

x

An <epichains> object.

...

Other parameters passed to print().

Author

James M. Azam

Examples

Run this code
# Using a Poisson offspring distribution and simulating from an infinite
# population up to chain size 10.
set.seed(32)
chains_pois_offspring <- simulate_chains(
  n_chains = 10,
  statistic = "size",
  offspring_dist = rpois,
  stat_threshold = 10,
  generation_time = function(n) rep(3, n),
  lambda = 2
)
chains_pois_offspring # Print the object

Run the code above in your browser using DataLab