birthdeath: Birth-death model

Description Usage Format Details Author(s) References

Description

Model with two states and a probability of switching between the two.

Usage

1
ca(l, birthdeath, parms = p)

Format

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
List of 6
 $ name  : chr "Random birth-death model"
 $ ref   : logi NA
 $ states: chr [1:2] "+" "0"
 $ cols  : chr [1:2] "black" "white"
 $ parms :List of 2
  ..$ death: num 0.5
  ..$ birth: num 0.5
 $ update:function (x_old, parms)  
  ..- attr(*, "srcref")=Class 'srcref'  atomic [1:8] 39 22 52 1 22 1 39 52
  .. .. ..- attr(*, "srcfile")=Classes 'srcfilecopy', 'srcfile' <environment: 0x4ea78e8> 
 - attr(*, "class")= chr "ca_model"

Details

This model implements only two states (dead or alive). Each cell can transition to the other depending only on a probability transition p ( dead -> alive) or q (alive -> dead). This model serves as a null model for the others provided for caspr.

Author(s)

None

References

None


caspr documentation built on May 2, 2019, 5:25 p.m.