sim_surv: Simulate survival

Description Usage Arguments Value

View source: R/sim_surv.R

Description

Simulates the survival of a population based on temperature performance

Usage

1
sim_surv(TPD, Te, Sp, Degree, Pmin)

Arguments

TPD

A population's thermal-performance data.

Te

The environmental temperature.

Sp

The relationship between survival and performance data.

Degree

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

Pmin

The mimum performance to be considered.

Value

A new TP population dataset with only survivors from TPD adding to the ID, P and T columns the "Parent" column to identify parentage.


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