gravatar

brownjk5

Joseph Brown

Recently Published

Computing Summary Statistics
How to use functions in base R and the dplyr package to construct a new data frame with summary statistics.
Intro to loading packages and data in R
For the beginnings of your R adventures. Does not cover any analysis, Only the basics of loading packages and data.
Example of plotting interval data
Show some steps to producing a plot of mean values at different time points during an experiment. Used when data is collected at different temporal intervals.
Creating Bar Plots Using ggplot2
How to summarize statistics and creating bar plots.
Converting data from "wide" to "long"
This tutorial uses the tidyr package to help users convert wide form data to long form data. For example, matrix to stacked style.
Creating Data Subset
Using `dplyr` functions to create subset datasets from a master dataset.
Species Average Trait Value Calculation
Steps to calculating species averages for traits.
Converting data from "long" to "wide"
This tutorial uses the tidyr package to help users convert long form data to wide form data. For example, stacked to matrix style
Running NMDS using metaMDS in vegan
Full set of steps to go from community composition data to complete NMDS analysis and plotting.
Community Weighted Mean (CWM) Calculation
Sample code for calculating trait CWMs using species abundance as weights.