pondfrog1 {blmeco} | R Documentation |
Simulated data of which the true model is known. Can be used to play with model selection. This is a simplified version of the pondfrog -example (see pondfrog)
data(pondfrog1)
A data frame with 130 observations on the following 4 variables.
frog
a numeric vector
ph
a numeric vector
waterdepth
a numeric vector
temp
a numeric vector
The code used to simulate the data was: set.seed(333) frog.mu <- exp(3.5 + 0.2*(temp-mean(temp))+0.1*(ph-mean(ph)) - 0.3*(waterdepth-mean(waterdepth)) ) frog <- rpois(n, lambda=frog.mu)
For the simulation of the explanatory variables, see help file for the pondfrog data
data(pondfrog1)
pairs(pondfrog1)