Now that we have made all our charts, we want to be able to export them…to use them in other programs like Power Point or put them in a HTML page.…R gives us several options for exporting charts.…We are going to review a few of them along with…an option to write it by R Studio in this movie.…The first thing we're going to do is load a data set that we had before.…We're going to get the Chick Feed bar chart data.…And we are going to create the bar chart, but we are going to be using…what R calls a graphic device.…And so what it's going to be doing, is instead of showing it here in…the window on the bottom right, it's going to save it directly to a file.…
Now let me run this entire process here.…This is to save it as a PNG file, it's a…good choice for web graphics and a lot of other media.…I'm using the function PNG.…I need to specify the file name where I want it to be saved.…I'm giving the desktop folder…that I have for R along with the file name.…There's the file name that I'm going to use.…And this opens the PNG device.…
Author
Released
9/26/2013- Installing R on your computer
- Using the built-in datasets
- Importing data
- Creating bar and pie charts for categorical variables
- Creating histograms and box plots for quantitative variables
- Calculating frequencies and descriptives
- Transforming variables
- Coding missing data
- Analyzing by subgroups
- Creating charts for associations
- Calculating correlations
- Creating charts and statistics for three or more variables
- Creating crosstabs for categorical variables
Skill Level Intermediate
Duration
Views
Q: The R files within Chapters 01 to 10 don't appear to have any code in them. Where is the final code for each file?
A: Look in the "final" folder for each video. These folders contains the final R code written by the author.
Related Courses
-
Introduction
-
Welcome58s
-
-
1. Getting Started
-
Using RStudio4m 36s
-
Installing and managing packages11m 16s
-
Using built-in datasets in R5m 27s
-
Entering data manually4m 37s
-
Importing data8m 53s
-
Working with color in R10m 18s
-
2. Charts for One Variable
-
Overlaying plots7m 25s
-
Saving images5m 34s
-
Solution: Layering plots2m 22s
-
3. Statistics for One Variable
-
Calculating frequencies3m 33s
-
Calculating descriptives5m 43s
-
-
4. Modifying Data
-
Examining outliers6m 42s
-
Transforming variables9m 26s
-
Coding missing data6m 4s
-
-
5. Working with the Data File
-
Selecting cases5m 30s
-
Analyzing by subgroup3m 14s
-
Merging files5m 16s
-
-
6. Charts for Associations
-
Creating scatter plots5m 2s
-
7. Statistics for Associations
-
Calculating correlation3m 54s
-
Comparing proportions3m 34s
-
-
8. Charts for Three or More Variables
-
Creating 3D scatter plots5m 13s
-
9. Statistics for Three or More Variables
-
Conducting a cluster analysis14m 14s
-
Conclusion
-
Next steps3m 40s
-
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.
CancelTake notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.
Share this video
Embed this video
Video: Saving images