Statistical Learning Group
Statistical Learning Group
  • 157
  • 62 389
R 4-3 Writing Functions
Describes how to create user-defined functions which allows you to simplify code that you run in multiple places by instead calling a function you've defined.
This video is part of a free, open, non-credit course available from the Department of Statistics at North Carolina State University. The course is meant to provide training to our current graduate students on the basics of R so that learning how to use R doesn’t hinder their learning in the courses that use R in our programs.
Course Goals: This course is designed to demonstrate the basic use of R for reading, manipulating, and plotting data using RStudio. Helpful programming techniques such as looping and function writing are also discussed.
By the end of this course students will be able to:
- read and write R programs
- import well-formatted raw data into R using the tidyverse
- complete common data manipulation tasks in R using the tidyverse
- produce numerical and graphical summaries in R
- improve R programs using loops, vectorized functions, and user-created functions
If you'd like to join the course, enrollment information is available here:
bit.ly/welcome-letter-NCStateStats-R
The full playlist of videos can be found here:
bit.ly/R-playlist
More about the NC State Statistics program can be found here:
statistics.sciences.ncsu.edu/
More about our Online Master of Statistics and Online Graduate Certificate programs can be found here:
statistics.sciences.ncsu.edu/graduate/online-programs/
zhlédnutí: 136

Video

R 4-2 Vectorized Functions
zhlédnutí 154Před 2 lety
Explores the use of functions that act on an entire vector. The vectorized functions are faster than loops and allow for very succint code. This video is part of a free, open, non-credit course available from the Department of Statistics at North Carolina State University. The course is meant to provide training to our current graduate students on the basics of R so that learning how to use R d...
R 4-1 Loops
zhlédnutí 62Před 2 lety
Discusses the concept of using a loop to repeatedly run sections of R code. A process that allows you to avoid copy and pasting the same chunk of R code over and over, each chunk only having minor edits. This video is part of a free, open, non-credit course available from the Department of Statistics at North Carolina State University. The course is meant to provide training to our current grad...
R 3-5 ggplot2 Faceting, Themes, & More
zhlédnutí 65Před 2 lety
Discusses the powerful idea of faceting (or creating multiple plots at each setting of one or more variables), how to change the overall look of plots using themes, and provides references for the many, many ggplot2 extensions. This video is part of a free, open, non-credit course available from the Department of Statistics at North Carolina State University. The course is meant to provide trai...
R 3-4 ggplot2 Smoothed Histograms, Boxplots, & Scatter Plots
zhlédnutí 66Před 2 lety
Continues the discussion of plotting using the ggplot2 package by looking at creating common numeric variable plots. This video is part of a free, open, non-credit course available from the Department of Statistics at North Carolina State University. The course is meant to provide training to our current graduate students on the basics of R so that learning how to use R doesn’t hinder their lea...
R 3-3 ggplot2 Concepts & Barplots
zhlédnutí 32Před 2 lety
Introduces the ideas behind plotting using the ggplot2 package through the creating of barplots. This video is part of a free, open, non-credit course available from the Department of Statistics at North Carolina State University. The course is meant to provide training to our current graduate students on the basics of R so that learning how to use R doesn’t hinder their learning in the courses...
R 3-2 Summarizing Center & Spread
zhlédnutí 121Před 2 lety
Describes how to obtain common summary statistics of numeric variables. This video is part of a free, open, non-credit course available from the Department of Statistics at North Carolina State University. The course is meant to provide training to our current graduate students on the basics of R so that learning how to use R doesn’t hinder their learning in the courses that use R in our progra...
R 3-1 Contingency Tables
zhlédnutí 138Před 2 lety
Describes how to summarize categorical variables through the creation of contingency tables. This video is part of a free, open, non-credit course available from the Department of Statistics at North Carolina State University. The course is meant to provide training to our current graduate students on the basics of R so that learning how to use R doesn’t hinder their learning in the courses tha...
R 2-5 Reshaping Data with tidyr
zhlédnutí 56Před 2 lety
Discusses the ideas of long and wide data and how to change from one form to another using pivot_wider and pivot_longer. Also demonstrates the use of separate and unite for splitting or joining columns. This video is part of a free, open, non-credit course available from the Department of Statistics at North Carolina State University. The course is meant to provide training to our current gradu...
R 2-4 Creating New Variables with dplyr
zhlédnutí 42Před 2 lety
Discusses the mutate function for creating new variables. This video is part of a free, open, non-credit course available from the Department of Statistics at North Carolina State University. The course is meant to provide training to our current graduate students on the basics of R so that learning how to use R doesn’t hinder their learning in the courses that use R in our programs. Course Goa...
R 2-3 Column Manipulations with dplyr
zhlédnutí 36Před 2 lety
Demonstrates the use of select and rename for subsetting columns and renaming them. The pipe operator is also introduced. This video is part of a free, open, non-credit course available from the Department of Statistics at North Carolina State University. The course is meant to provide training to our current graduate students on the basics of R so that learning how to use R doesn’t hinder thei...
R 2-2 Row Manipulations with dplyr
zhlédnutí 56Před 2 lety
Introduces the dplyr package for doing data manipulation. The use of filter and arrange for subsetting and reordering rows is demonstrated. This video is part of a free, open, non-credit course available from the Department of Statistics at North Carolina State University. The course is meant to provide training to our current graduate students on the basics of R so that learning how to use R d...
R 2-1 R Markdown
zhlédnutí 60Před 2 lety
Discusses the use of R Markdown to capture code and thought processes and produce many different types of documents making the entire analysis not only reproducible, but communication ready. This video is part of a free, open, non-credit course available from the Department of Statistics at North Carolina State University. The course is meant to provide training to our current graduate students...
R 1-7 Importing Excel Data, SAS Data, and More
zhlédnutí 56Před 2 lety
Looks at methods for importing data from other sources using the haven package from the tidyverse along with a brief discussion of JSON data and connecting to a database in R. This video is part of a free, open, non-credit course available from the Department of Statistics at North Carolina State University. The course is meant to provide training to our current graduate students on the basics ...
R 1-6 The readr Package for Importing Delimited Data
zhlédnutí 118Před 2 lety
Describes delimited data ideas and how to read in that data using the readr package from the tidyverse. The differences between a data frame and a tibble are also outlined. This video is part of a free, open, non-credit course available from the Department of Statistics at North Carolina State University. The course is meant to provide training to our current graduate students on the basics of ...
R 1-5 R Packages
zhlédnutí 33Před 2 lety
R 1-5 R Packages
R 1-4 Common Data Objects: List
zhlédnutí 58Před 2 lety
R 1-4 Common Data Objects: List
R 1-3 Common Data Objects: Data Frame
zhlédnutí 62Před 2 lety
R 1-3 Common Data Objects: Data Frame
R 1-2 Common Data Objects: Vector
zhlédnutí 73Před 2 lety
R 1-2 Common Data Objects: Vector
R 1-1 Overview & Basics Of R Programming
zhlédnutí 231Před 2 lety
R 1-1 Overview & Basics Of R Programming
SAS 2-3 Creating New Variables
zhlédnutí 616Před 3 lety
SAS 2-3 Creating New Variables
SAS 4-5 Multiple Linear Regression
zhlédnutí 244Před 3 lety
SAS 4-5 Multiple Linear Regression
SAS 4-4 Simple Linear Regression
zhlédnutí 312Před 3 lety
SAS 4-4 Simple Linear Regression
SAS 4-3 Correlation Analysis
zhlédnutí 1,4KPřed 3 lety
SAS 4-3 Correlation Analysis
SAS 4-2 Prediction Ideas
zhlédnutí 110Před 3 lety
SAS 4-2 Prediction Ideas
SAS 4-1 Inference Ideas
zhlédnutí 123Před 3 lety
SAS 4-1 Inference Ideas
SAS 3-7 Scatterplots
zhlédnutí 408Před 3 lety
SAS 3-7 Scatterplots
SAS 3-6 Histograms, Density Plots, & Boxplots
zhlédnutí 1,3KPřed 3 lety
SAS 3-6 Histograms, Density Plots, & Boxplots
SAS 3-5 Bar Plots
zhlédnutí 595Před 3 lety
SAS 3-5 Bar Plots
SAS 3-4 Measuring Linear Associations
zhlédnutí 90Před 3 lety
SAS 3-4 Measuring Linear Associations