Want to learn more? Take a look at our extra lessons.
- Getting Started With Strings
- Combining and Subsetting Strings
- Regular Expressions
- Creating Factors
- Altering Factors
- When you should write a function
- Steps to writing a function
- Naming conventions
- Arguments
- Returns
- Conditionals
- Environment
- Getting started with loops
- Output
- While loops
- Loops with conditionals and functions
- Error handling
The ggally package provides a function for creating scatterplot matrices. A scatterplot matrix arranges multiple scatterplots on a grid so that they are easy to compare to one another.
The stargazer package makes it easy to create publication quality regression tables in html or LateX.
This extra demonstrates two useful tools for handling missing data in statistical models.
Have you ever wanted to change your ggplots with the click of a button? Wouldn’t it be nice to use a drop-down menu to filter your data? R Shiny allows you and others to interact with your code through a graphic web interface.
The caret package provides a consistent framework for fitting hundreds of different types of predictive models, then comparing them to select the most effective models using out of sample accuracy.
This extra shows you an easy way to split up your loops over multiple cores on your computer to run in “parallel” and speed up large or long-running loops.