EstFreq: EstFreq

Description Usage Arguments Details Examples

Description

Simulates k state-transition tables (see: StateTrans) based one state-transtion table containing expected population frequencies (relative frequencies!). If simulations should be conducted for different numbers of time intervalls, please see: EstTime

Usage

1
EstFreq(x, t, min.cell = 5, k = 20000)

Arguments

x

a matrix containing the assumed probabilities for the expected transition tables

t

number of time intervalls

min.cell

a single integer defines what counts as a low frequency (5 by convention)

k

Number of simulations (at least 20.000 is recommended)

Details

The matrix must have 2*4 dimensions with the following information:

Examples

1
2
3
4
5
6
7
8
## Not run: 
my.trans.table<-matrix(c(0.57, 0.13,0.05,0.05,0.05, 0.05,0.05,0.05),4,2)

my.cellproblems<-EstFreq(my.trans.table, 100, 5, k=20000)

my.cellproblems

## End(Not run)

PeFox/DySeq documentation built on May 8, 2019, 1:28 a.m.