Course Hive
Search

Welcome

Sign in or create your account

Continue with Google
or
Stacked and Grouped Bar Charts and Mosaic Plots in R |R Tutorial 2.6| MarinStatsLectures
Play lesson

Statistics and Statistics with R Tutorials (All Videos) | MarinStatsLectures - Stacked and Grouped Bar Charts and Mosaic Plots in R |R Tutorial 2.6| MarinStatsLectures

4.0 (0)
7 learners

What you'll learn

This course includes

  • 15.3 hours of video
  • Certificate of completion
  • Access on mobile and TV

Summary

Keywords

Full Transcript

Stacked and Grouped Bar Charts and Mosaic Plots in R: How to create and customize stacked bar charts, clustered bar charts and mosaic plots for examining the relationship between two categorical variables in R; Find the Free Practice Dataset: (https://bit.ly/2rOfgEJ) For more Statistics and R Programming Tutorials: (https://goo.gl/4vDQzT) ►► Like to support us? You can Donate (https://bit.ly/2CWxnP2), Share our Videos, Leave us a Comment and Give us a Thumbs up! Either way We Thank You! In this R video tutorial, we will learn how to produce and customize "stacked bar charts", "clustered bar charts" and "mosaic plots" for examining the relationship between two categorical variables in R. We will also learn to create contingency table as well as modifying the plots. In this R video you will use "table", "barplot", "mosaicplot", "beside",and "legend" functions to create and modify the plots. Table of Content: 0:00:09 when is it appropriate to use "stacked bar charts", "clustered bar charts" and "mosaic plots" for our data 0:00:34 how to produce "stacked bar charts" in R using the "barplot" command 0:00:37 how to access the Help menu for "bar charts" in R 0:00:48 how to produce "contingency table" in R using the "table" command 0:01:22 how to produce "clustered bar charts" in R using "beside" argument 0:01:39 how to express the "bar chart" in terms of "conditional probabilities" 0:02:02 how to add a legend to "bar chart" using the "legend.text" argument 0:02:35 how to add a title to "bar chart" in R using the "main" argument 0:02:44 how to label the x-axis or y-axis of a "bar chart" using the "xlab" or "ylab" arguments 0:02:55 how to rotate the values on the y-axis of a "bar chart" by using the "las" argument 0:03:03 how to change the colours (color) of the bars in "bar chart" in R using the "col" argument 0:03:17 how to produce a "mosaic plot" in R using the "mosaicplot" command These video tutorials are useful for anyone interested in learning data science and statistics with R programming language using RStudio. ► ► Watch More: ► Intro to Statistics Course: https://bit.ly/2SQOxDH ►Data Science with R https://bit.ly/1A1Pixc ►Getting Started with R (Series 1): https://bit.ly/2PkTneg ►Graphs and Descriptive Statistics in R (Series 2): https://bit.ly/2PkTneg ►Probability distributions in R (Series 3): https://bit.ly/2AT3wpI ►Bivariate analysis in R (Series 4): https://bit.ly/2SXvcRi ►Linear Regression in R (Series 5): https://bit.ly/1iytAtm ►ANOVA Concept and with R https://bit.ly/2zBwjgL ►Hypothesis Testing: https://bit.ly/2Ff3J9e ►Linear Regression Concept and with R Lectures https://bit.ly/2z8fXg1 Follow MarinStatsLectures Subscribe: https://goo.gl/4vDQzT website: https://statslectures.com Facebook:https://goo.gl/qYQavS Twitter:https://goo.gl/393AQG Instagram: https://goo.gl/fdPiDn Our Team: Content Creator: Mike Marin (B.Sc., MSc.) Senior Instructor at UBC. Producer and Creative Manager: Ladan Hamadani (B.Sc., BA., MPH) These videos are created by #marinstatslectures to support some courses at The University of British Columbia (UBC) (#IntroductoryStatistics and #RVideoTutorials for Health Science Research), although we make all videos available to the everyone everywhere for free. Thanks for watching! Have fun and remember that statistics is almost as beautiful as a unicorn!

Course Hive

Continue this lesson in the app

Install CourseHive on Android or iOS to keep learning while you move.

Related Courses

FAQs

Course Hive
Download CourseHive
Keep learning anywhere