A simulated dataset mimicking a thermal tolerance study where each species has multiple measurements of critical thermal maximum (CTmax) taken at different acclimation temperatures. The data-generating process is
Format
A data frame with 1,464 rows and 3 variables:
- species
Character. Species name matching
tree300tips.- acclim_temp
Numeric. Acclimation temperature (degrees C). This is an observation-level covariate that varies within species.
- CTmax
Numeric. Critical thermal maximum (degrees C). Contains NA values for unobserved species and MCAR missingness.
Details
$$CTmax_{ij} = 38 + phylo_i + 0.10 \times acclim\_temp_{ij} + \epsilon_{ij}$$
where \(phylo_i\) follows Brownian motion on tree300,
the within-species acclimation response ratio is 0.10, and
\(\epsilon_{ij} \sim N(0, 1.5)\). Thirty percent of species are entirely
unobserved (all CTmax values are NA), and an additional 15\
observations are missing at random.
This dataset demonstrates pigauto's multi-observation and observation-level
covariate support. Use with tree300 and set
species_col = "species" in impute.
