species | R Documentation |
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.
species
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) |
The R book
, M.J. Crawley, Wiley, 2007 (Chapter 14.3).
# 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")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.