Learn R Programming

R330 (version 1.0)

plum.df: Plum tree data

Description

A study was conducted on the reproduction of plum trees by taking cuttings from older trees. Half the cuttings were planted immediately while the other half were bedded in sand until spring when they were planted. Two lengths of cuttings were used: long (12 cm) and short (6cm). A total of 240 cuttings were taken for each of the 4 combinations of planting time and cutting length and the number of cuttings that survived in each situation was recorded.

Usage

data(plum.df)

Arguments

Format

A data frame with 4 observations on the following 4 variables:
length
cutting length (long,short)
time
planting time (spring, autumn)
s
number that survived
n
total number planted

Examples

Run this code
data(plum.df)
plum.glm<-glm(cbind(s,n-s)~length*time, family=binomial, data=plum.df)
summary(plum.glm)

Run the code above in your browser using DataLab