𓇢𓆸˚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
-
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
- .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
- Package used:
- mid.R = how to load in excel data, not csv!
- Package used:
readxl
- Package used:
- 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
- Package used:
ggplot2,
- Package used:
- 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
- Package used:
ggplot2
- Package used:
- 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.
- https://www.statology.org/
- https://www.bigbookofr.com/ = has a "New to R?" chapter!
- https://rforcats.net/
- SCRUBs = Santa Cruz R User Base group (UCSC folks only: see EEB email listservs)
- check out their github here
- and Calvin's github
- R cheatsheets (you can find these when you search for specific packages; e.g. dplyr, ggplot2)
- Greg Gilbert's Site: https://greggilbertlab.sites.ucsc.edu/teaching/rtransition/