gen_pop_tpd: Generate a population's TPD

Description Usage Arguments Value

View source: R/gen.R

Description

Generates a population's thermal-performance dataset (TPD) based on some thermal performance traits (TPTs), the number of idnividuals (n), the amount of samples and a specified error.

Usage

1
gen_pop_tpd(n, tpts, samples, error)

Arguments

n

The number of individuals

tpts

A data frame of thermal-performance traits (TPTs) in the format of the output of the get_tpts function

samples

The number of samples to be generated for each individual

error

The amount of error to be introduced in units of standard deviation.

Value

A tibble thermal-performance dataset (TPD) with id, p and t as columns


ggcostoya/limon documentation built on April 27, 2021, 10:09 p.m.