Scatterplots in R | R Tutorial 2.7 | MarinStatsLectures
Автор: MarinStatsLectures-R Programming & Statistics
Загружено: 10 авг. 2013 г.
Просмотров: 196 117 просмотров
Scatterplots in R: How to make and modify scatterplots and calculate Pearson's Correlation in R to examine the relationship between two numeric variables. Here is the Free Practice Dataset (LungCapData): (https://bit.ly/2rOfgEJ); Want to Learn How to Calculate Pearson's Correlation in Detail ( • Correlations and Covariance in R with... )
Need more Statistics and R Programming Tutorials? Check these out: (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 tutorial we will learn how to make scatterplot in R to examine the relationship between two numeric variables. We will also learn to calculate pearson's correlation for our data and modify the scatterplot using R programming language. In this tutorial we will use the "plot", "cor", "abline", "spline," "lty" and "lines" functions in R programming language.
Table of Content:
0:00:04 when is it appropriate to use "scatterplot" for our data
0:00:27 how to produce a scatterplot in R using the "plot" command
0:00:34 how to access the help menu in R for scatterplots
0:00:42 how to calculate "pearson's correlation" in R using the "cor" command
0:01:09 how to determine which variable appears on which axes of a scatterplot in R
0:01:24 how to add a title to a scatterplot in R using the "main" argument
0:01:28 how to add labels to the axes of a scatterplot in R using the "xlab" or "ylab" arguments
0:01:46 how to rotate values of y-axis of a scatterplot in R using "las" argument
0:01:55 how to change limits of x-axis or y-axis of a scatterplot in R using "xlim" or "ylim" argument
0:02:10 how to change the size of the plotting characters of a scatterplot in R using the "cex" argument
0:02:26 how to change the shape of the plotting character of a scatterplot in R using the "pch" argument
0:02:50 how to change the color of the characters of a scatterplot in R using the "col" argument
0:03:01 how to add a regression line to a scatterplot in R using "abline" command
0:03:22 how to change the colour (color) of a regression line in R using the "col" argument
0:03:34 how to add a nonparametric smoother to the scatterplot in R using the "lines" and "smooth.spline" command
0:04:06 how to change the line type that we're plotting using the "lty" argument
0:04:13 how to change the width of the line we are plotting using the "lwd" argument
► ► 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!

Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: