sim_time: Simulate a time interval

Description Usage Arguments Value

View source: R/sim_time.R

Description

Simulates the survival and reproduction of a population between two moments in time based on TPD

Usage

1
sim_time(TPD, Te, Sp, Rp, Mu, Mum, Musd, Degree, Pmin, Samples, Error)

Arguments

TPD

A population's thermal-performance data.

Te

The environmental temperature.

Sp

The relationship between performance and survival

Rp

The relationship between performance and reproduction.

Mu

Mutation rate

Mum

Mean percentage of change on a TPT due to mutation

Musd

SD of the percentage of change on a TPT due to mutation

Degree

The degree to fit the polynomial regressions relating Tm to P.

Pmin

The mimum performance to be considered.

Samples

Samples to be taken from each new individual.

Error

Amount of error to be introduced in offspring samples.

Value

A new TP population dataset with survivors and offspring.


ggcostoya/tpcurves2 documentation built on Jan. 1, 2021, 2:19 a.m.