knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)

Introduction

This tutorial walkthroughs how to get the shroom package up and running on your computer.

Preliminaires

Loading devtools

If you haven't already, downloaded the devtools package (This isn't necessary if you have downloaded it recently )

#Only do this if you have -never- downloaded 
#devtools before
install.packages("devtools")

Load devtools into your current R session using library()

library(devtools)

Loading shroom

If you haven't done so recently, download the shroom package from github. (The function is install_github() but what it really is doing is copying the files from GitHub to your computer).

devtools::install_github("brouwern/shroom")

Load shroom into your current R session using library()

library(shroom)

Looking at shroom data

You can check to see if setting up the package and its data worked by loading a dataset

data("wingscores")

and looking at it with summary(). Here, we'll just look at a single column that has the scores.

summary(wingscores$wing.score)

and plot it

hist(wingscores$wing.score)



brouwern/shroom documentation built on May 24, 2019, 7:54 a.m.