Navigation

Homepage Current Courses Teaching Portfolio Writing Portfolio Presentations
Janus Personal Interests Lifelong Learning Astronomy Classical Greek
Dholuo Atheism      

Quick Links

Lifelong Learning

Astronomy

Classical & Medieval

Linguistics

Mathematics

Philosophy & Logic

Mixology

MIS

Data Analytics

History

Computational Sciences

 

 

 

Return

Return to Homepage

 

 

 

 

Lifelong Learning

Computational and Data-Enabled Science and Engineering

Coding Tutorials and Examples

R

 

I started teaching myself R a couple years ago, and then I used it for making graphs for a particular contract job I picked up for statistics.  I started making a collection of graphs and how to make them after I spent a lot of time figuring out how to make a nice dotplot.  Like everything, the code examples here are intended to be functional, not necessarily elegant.  I'm still learning, so I'll add more as I go.  For now, I'm trying to use minimal libraries, but as the graphs get more complex, and with more customization, then I'll probably supplement these intros with more advanced options.

I started primarily with data in vector form, rather than in dataframes, because that was the kind of data I was working with.  I'll expand my list to include other types of data formats as I go.  I use R Studio at home. I have recently started working in Jupyter Notebook for my disseration work. I'll add more of that at some point.

 

Bar Graphs

Boxplot

Dotplots

Histogram

Normal Distribution shaded between two values

Normal Probability Plots

Scatterplots with Trendlines and Residual Graphs

Time Series Plot & Autocorrelation/Partial Autocorrelation Functions

Applied Statistics with R I/II (lots of material on statistics here. labs with examples in R linked below. see main page for data sets used.)

Introduction to R
Descriptive Statistics
Statistical Graphs -- Base R/ggplot
Probability Distributions
Simulations and Sampling
Hypothesis Testing #1
Hypothesis Testing #2
ANOVA #1
Nonparametric Tests
Bootstrapping/Permuation Tests
Categorical Tests
Spatial Statistics
Quarto

Regression #1
Regression #2
Multiple Regression
ANOVA #2
Logistic Regression
Nonlinear Models
One-hot encoding/ML basics
Intro Time Series
Decomposing Time Series/Autocorrelation
Modeling Time Series
Non-Parametric Regression
Time Series Smoothing Methods

Tutorials from my Students:
Making Histograms in ggplot2 -- by Henry McCoy
Finding Probabilities (normal/Poisson) in R -- Julia Ferris
Scatterplots and Boxplots -- Katelyn Bechtel
ANOVA Tutorial -- Katelyn Bechtel

Brief Introduction to GEOmap and geomapdata

Spatial Data Science Project Proposal

 

 

Incidentally, files are linked in pdf format, but docx formats are stored in the same folder.  Just change the format at the end of the link address to download the Word file.

 

 

Coding Tutorials and Examples

 

Personal

Interests

Recipes

Cards

Quotes

 

R Tutorial Playlist

 

 

 

 
Homepage Current Courses Teaching Portfolio Writing Portfolio Presentations
Janus Personal Interests Lifelong Learning Astronomy Classical Greek
Dholuo Atheism      

Mastodon
Copyright 2023, 2019, 2008 Betsy McCall
All rights reserved.
contact the Webmistress at betsy@pewtergallery.com
Last updated 2024 August 15