Learn R Programming

blmeco (version 1.0)

pondfrog1: 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)

Arguments

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

Run this code
data(pondfrog1)
pairs(pondfrog1)

Run the code above in your browser using DataLab