View source: R/simplebgwprocess.R
Prints 'To generate samples from a simple (BGW) Branching process!'.
1 | simplebgwprocess(n, p.vec, n.sim)
|
1 2 | ## x.sample is the generated samples of this (BGW) Branching process
## x.sample = bokai.bgw.process(n=10, p.vec=c(1/2, 1/4, 1/4, 0), n.sim=100)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.