sim_repr: Simulate reproduction

Description Usage Arguments Value

View source: R/sim_repr.R

Description

Simulates the reproduction of a population

Usage

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

Arguments

TPD

A population's thermal performance data.

Te

The environmental temperature

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 adding to the ID, P and T columns the "Parent" column to identify parents.


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