Group Assignment - Salamander Data
Exploration Intro to Quantitative Ecology:
Your group will need the mander.csv data file.
As a group, use R to explore the redbacked salamander (Plethodon cinereus) data.
The data include various measurements of salamanders at several sites in Ithaca, NY.
These variables within the data set include:
For this exercise, you should go through the process of describing the central tendency and dispersion of the ‘Total_length’ column using the correct metrics.
You should then as a group create a report with the following elements:
You can turn a data frame into a formatted table in RMarkdown using
the kable()
function.
Here’s an example:
# First make a data.frame:
table_data = data.frame(
n_observations = 555,
median = 12345.6789101112,
range = "12 to 45.9"
)
# Now give it nicer column names:
names(table_data) =
c("N. Observations", "Median", "Range")
# Finally use kable() to render the table:
knitr::kable(table_data)
N. Observations | Median | Range |
---|---|---|
555 | 12345.68 | 12 to 45.9 |