farms: farms: Size of Plants at Five Different Locations

farmsR Documentation

farms: Size of Plants at Five Different Locations

Description

The size of plants has been measured on 24 farms in five different locations. There is various Nitrogen content in the soil within each of the 24 farms. This data set illustrates spatial pseudo-replication, since the five measurements made on each farm are probably dependent, coming from the same farm.

Usage

farms

Format

A data frame with 120 observations (rows) and 3 variables (columns).

Column name Data type Description Values
[,1] Nitrogen numeric The nitrogen content in the soil (11.46 - 29.18)
[,2] Plant_size numeric The size of the plant (76.56 - 117.50)
[,3] Farm factor 24 different farms (farm1...farm24)

Details

This is the same data set as in The R Book, but with different column names.

Source

⁠The R book⁠, M.J. Crawley, Wiley, 2013.

See Also

farms0

Examples


# A short summary of the variables
summary(farms)

# Data for the smallest plant
farms[which(farms$Plant_size == min(farms$Plant_size)),]

# Data for the largest plant
farms[which.max(farms$Plant_size),]


thoree/stat340 documentation built on June 30, 2024, 4:04 p.m.