SS.predict: Computes the solution of the difference equation for the...

Description Usage Arguments Value Examples

View source: R/SS.predict.R

Description

Computes the solution of the difference equation for the fraction of plasmid-free cells for the Segregation Selection model. The output is a time series of the fraction of plasmid-free cells See De Gelder et al 2004, 2008 and Ponciano et al 2007.

Usage

1
SS.predict(beta.o, lam, sig, days, gen)

Arguments

beta.o

Initial fraction of plasmid free cells

lam

Segregation rate (a number between 0 and 1)

sig

plasmid cost. Usually sig>0 but if -1<sig<0, then this parameter represents the benefit of having a plasmid

days

vector

gen

Number of generations per day

Value

a vector of same length as 'says' with the fraction of plasmid free cells

Examples

1
SS.predict(beta.o=0.01, lam=0.003,sig=0.4, days=7, gen=10)

javirudolph/StabilityToolkit documentation built on Jan. 3, 2021, 11:29 p.m.