Перейти к содержимому

Create/ Import a dataset to R | Fit a Simple Linear Regression model | Add a line to R plot

Data Science with Yan

0:00 / 0:00

Create/ Import a dataset to R | Fit a Simple Linear Regression model | Add a line to R plot

13 232 просмотра · 5 лет назад
Data Science with Yan
2,13 тыс. подписчиков
13 232 просмотра · 5 лет назад
In this video, you are going to learn: 0:00 create a new R script 0:36 first method of preparing a dataset in R: type and prepare data information directly 3:36 draw a scatterplot and fit a linear regression model 6:35 import a dataset from csv or excel file 9:47 fit a linear model add the regression line to the scatterplot. The birds.csv data can be downloaded from here: https://www.dropbox.com/s/8i8bkl5zb76... R code for this video can be found here: https://github.com/yz-DataScience/Rfo... You may find the playlist on R for data science book club here ( I have been recording the videos according to a popular book):    • R for data science book club   You may set the video speed to 1.25 or 1.5 to make the video go faster by clicking the setting from the bottom right of the video, and set the speed to 1.25 or 1.5. You need to install R and RStudio before you use RStudio. Follow this instruction here: https://github.com/yz-DataScience/R-f...