pondfrog1 {blmeco}R Documentation

Fake Data: Number of Frogs in Ponds

Description

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)

Usage

data(pondfrog1)

Format

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

Details

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

Examples

data(pondfrog1)
pairs(pondfrog1)

[Package blmeco version 1.4 Index]