Skip to content

Latest commit

 

History

History
49 lines (37 loc) · 4.9 KB

File metadata and controls

49 lines (37 loc) · 4.9 KB

educational 𓇼 ୭⋆。˚ 𓆝⋆。 *ੈ✩

𓇢𓆸˚code to share with students and friends!

best one to start with is probably test.R or randomdata.R

Packages used: r2r, readxl, ggplot2, survival, ranger, dplyr, ggfortify, survminer, ggsurvfit, car

FOLDERS ❀

  • lit review = data downloaded from Web of Science search when I was looking for publications mentioning competition and facilitation in Ecology; makes a nice plot

  • NorrisCenter = data from CCH2; planning to use for collection summary statistics

UNSORTED FILES ❀

  • .gitignore = don't worry about this
  • educational.Rproj = this is just my workspace snapshot, don't worry about this either
  • hashmap.R = Mick walking me through hashmaps and using the hashmap tutorial on the package page
    • Package used: r2r
  • mid.R = how to load in excel data, not csv!
  • mid.xlsx = fake data made up to use in mid.R
  • randomdata.R = randomly generated scatterplot; originally made to use as a visual aid but is quick reference for how to randomly generate some simple data
  • survcurv.R = some code walking through survival curves with Kaplan-Meier curve and Cox Proportional Hazard model examples. The descriptions and explanations aren't great on this one, I'm still working on it. following RStudio Blog tutorial by Joseph Rickert https://rviews.rstudio.com/2017/09/25/survival-analysis-with-r/
  • test.R = beginner code to show how to make a boxplot and do a basic ANOVA
  • test.csv = made up data set showing some made up heights of 3 different genera (Clarkia, Raphanus, Trifolium) to use in test.R
  • vision.R = initial exploration of the retinopathy dataset in the survival package. prep for a survival curve mini workshop I gave to ESNERR staff. Comments pretty in depth.
  • vision_model.R = follow up to vision.R, file used during workshop with ESNERR staff. Comments OK but leave a bit to be desired.

Other Great R Resources ❀