species: species: Plant Species Count Data

speciesR Documentation

species: Plant Species Count Data

Description

This data contains the number of plant species in 90 plots of different biomass and pH. The biomass is a continuous explanatory variable, the soil pH is a categorical variable, and the response variable is the number of plant species on each plot.

Usage

species

Format

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

Column name Data type Description Values
[,1] pH factor 3 levels of soil pH (high, low, mid)
[,2] Biomass numeric The biomass in the soil (0.05017 - 9.98177)
[,3] Species integer Number of plant species (2 - 44)

Source

⁠The R book⁠, M.J. Crawley, Wiley, 2007 (Chapter 14.3).

Examples


# First six rows
head(species)

# The relationship between biomass and plant species
plot(species$Biomass, species$Species, col = species$pH,
     pch = 19, xlab = "Biomass", ylab = "Plant species")


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