sim_mtime: Simulate multiple time intervals

Description Usage Arguments Value

View source: R/sim_mtime.R

Description

Simulates survival and reproduction of a population for multiple time intervals based on TPD

Usage

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

Arguments

TPD

A population's thermal-performance data.

Te

A vector of envirnomental temperature values. It's length determines the number of time intervals.

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

Pmin

The mimum performance to be considered.

Error

Amount of error to be introduced in offspring samples.

Samples

Samples to be taken from each new individual.

Degree

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

Value

A new TP population dataset with survivors and offspring.


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