Get my FREE cheat sheets for R programming and statistics (including transcripts of these lessons) here: www.learnmore365.com/pages/membership-r-programming-data-visualization-and-research-methods
This is a complete semester course described in detail in an hour. My Professor, who is paid to teach this course, will be unable to cover even half of what is shown in this video until the semester is through. When I raise inquiries about specific codes in class, the Professor becomes enraged. Greg, I can't thank you enough for this video and so many others. R programming is quickly becoming second nature to me. How can I get access to the linear model and other graphs you used to demonstrate some aspects of the programming? Thank you very much. You are simply the best!
(I am adding shortcuts for myself, so if some of them are incorrect don't complain) 00:00 - intro 04:00 - basics 06:52 - Built in data sets to practice with 07:30 - installing and using packages 11:44 - Data structure and types of variables [ ] 16:04 - Changing variable order 16:31 - changing variable name 17:00 - changing a variable type (factor) 18:12 - changing factor levels 19:36 - filter rows 20:31 - recode data 21:14 - dealing with missing data 22:00 - dealing with duplicates 23:31 - manipulate (create or change a variable[mutate]) 23:21 - conditional change (if_else) c.d.n
I cannot tell you how excited I am that I finally understand what I am doing in R! Granted, I've spent about 8 hours working through this 1 hour video, but it has finally "clicked." Thank you!
Greg, I absolutely love your teaching style. I was flip-flopping between R and Python and you have convinced me that for data exploration, graphing and statistical analysis, R is the best bet. No doubt I will still learn Python but your style of teaching is what has got me convinced and serious about learning R. I can't thank you enough.
I was searching for videos on R programming and stumbled upon your channel. The way you explain the concepts is so wonderful. Simple and precise. I like the fact that in many of your videos, you do touch upon topics that were taught in a previous video. This video is like a refresher just before one is about to give his / her exam. Thank u so much for putting in the hard yards and making life for us wannabe data analysts slightly better. Wish u the best in life!!!
I've watched four tutorials on R programming and yours is the best one! Not only concise, quick and relevant, but the way you talk about these topics is truly entertaining and captivating :) Thank you
I’ve been learning python for the last few months and haven’t used R in a long time… this is the perfect refresher I needed for an upcoming interview I have! Excellent stuff :-)
I agree with your approach of using in-house data for these demonstrations 100%. I can't count the number times I have started a lesson (and even paid for it) and quit in frustration because I could not access or find the data they used. Some instructors use some "obscure" data from a R package but don't bother telling you it came from. Others use "external" data that is either no longer accessible (or needs a signup or API) or in has been "wrangled" from the original form into some other shape. Many times I have had to reverse engineer or simulate the data on my own. If you are trying to teach some specific task or topic then this misses the point of the lesson (reminds of my high school when our math books were in Swedish - not my native language - I and I was busy trying to figure out what the words meant rather than doing the math) . So thanks for be so good about using built-in data rather than some obscure data!
Merci beaucoup pour la vidéo. I'm experienced in SAS and Power BI, but did not know where to start on how to program in R. Your video touched upon all the important themes we need to know to get started.
It was the "boom shakalaka" and "easy peasy lemon squeezy" that let me know I was in the right place. So much better than any boring University course teaching less and not as well. Thank you!
Thank you Greg. This video is a life saver. My last masters unit (From Fiji) required to use R Programming Language for the major assessment. I had never used R and coming from a non programming background i struggled in keeping up labs, this crash course truly helped. So many vital topics put in so amazingly, well knitted. I learnt more in this video then i had in my whole semester. Thank you and best wishes
Thanks a mill for this, Greg! I've watched the video 4 times and worked through all of it in RStudio. Not only did I learn a lot of R, I also did grasp some concepts in statistics that I've struggled with before. There's a big difference in the level of understanding when trying it out on your own. Awesome! I highly recommend putting in the time, it was so worth it. I've now downloaded the visualization cheat sheet as well, but that I think I'll have to save until the next weekend ;) Hope your weekend was just as great.
I cannot thank you enough. This has been such a huge help. I will be sharing this with the rest of the students in my Data Science unit and in the university Discord for future students. Absolutely brilliant teacher.
Wonderful video!!! I can't recommend it enough! I'm an SPSS user, but I'm learning R programming to be able to run analysis anywhere I go for free (and on the run lol), and then to be able to help others with their own data analysis when they don't have SPSS. R is becoming a more universal package in my opinion. Thank you so much Greg Martin for all your efforts and dedication to teaching global minds :) keep it up!
Amazing video! Thanks for this. The only explanation I found missing in the video is that you need to code library(package_name) for the packages each time you open up Rstudio in order to use the package again.
I was just getting started to jump into my Statistical Programming Course but I hate going into things blind. This was an EXCELLENT resource i was intimidated by R programming. This video honestly gave me a huge boost in confidence. Thank you.
Thank you! I'm self-taught in R a number of years ago. Getting back into it now, and your videos are excellent. I LOVE tidyverse! And your approach is really helping me re-learn and improve. Thanks
Wow, very quick and efficient way of learning how this program works! Learned so much while following this course, have subscribed and looking forward to more videos created by you. Thank you!
The content is just wonderful. Much appreciated. I am studying environmental management and have no bg in programming. However, I always heard of R. With the help of your video, I learnt a lot of things. Cheers
Thank you so much Greg for sharing your hard-earned knowledge with the rest of us. You are doing a wonderful job; it is clear that it takes time and passion to make these informative, well-structured videos and for that I am greatly thankful. Wish you all the best :)
Thank you so much for this video! I am a theoretically strong, data weak political scientist who is trying to learn more about using R. This was very helpful.
Very good course i agree. An hour is the official play time but obviously you will need a lot more than that to learn this, Greg is clear but very fast and you might find like me 0.75 playback speed sounds a bit more normal! And then you must pause a lot, maybe check stuff, try an alternative, etc etc
Thank you for the video , I cannot begin to tell you how awesome it is that you explain everything in great detail, and make it way easier to understand. Your video was so helpful , I am doing an online course and I have learned more in the last hour than I have in 2 weeks... Again, thank you
Just what I needed. What a brilliant video! Can only agree with the top comments. I have programmed many languages, and found you made it both entertaining and I think you covered everything I wanted to know to get an introduction - you make it look easy peasy lemon squeezy - By the way, you didn't mention your name ;D just thinking that would be helpful, as maybe you are doing a conference sometime, then I would definetly want to see you present.
This video works great. I only learn R as a side interest and part of the Exercism #12in23 challenge. But this showed me very well on what R can do and how to use. it.
Thanks for the video. I got what I needed for work. I have to translate some R code into Python to run in Airflow for work. 😁 I think I understand the basics. I need to learn more about character stripping, substrings, and character replacing in R now. I have a script that replaces a certain number of spaces with one comma. Pretty simple.
@ 17:00 When explaining Re-Factoring you should explicitly clarify Factoring and distinguish between "Re-Classing, Re-assigning, Re-Typing, Re-Categorizing because you used the words pretty loosely and it was just an overall confusing section. I had to watch another video to explain what it was you were even talking about . Im a beginner but i was able to keep up perfectly up until that point. Edit* Yo This section is a nightmare to understand if youre not actively googling what the words that are coming out of your mouth mean. For example "...R hasn't identified it as a factor or categorical variable." Whats a Factor? Whats a Categorical Variable as opposed to a regular one? What are the common types of Factors and variables? Its a crash course but there are things that are contextual pieces being glossed over. As a refresher course this is probably an awesome video, for someone with 0 experience then you might need a tutorial along side this tutorial.
love this video so much but the dataset ''starwars'' is not available to me, I'm not sure why and I've tried adding it seperately but that hasn't worked so far, does anyone know a solution to this? It would really help since it's easier to follow along when it's the same dataset
Ehm, the starwars dataset is not in my version of RStudio, which should be the latest version (installed yesterday). This makes it hard to follow the instructions. When I write View(starwars) I get this response "Error in View : object 'starwars' not found" ??
Question, I wasn't able to install Starwars in my R Studio. It said it wasn't available on my version of R. I have a MacBook Pro with a mac OS version of R. Does anyone have any solutions?
Excellent video! Have been trying to practice with this video, getting the 'starwars' data is not in the r sample data. Can anyone tell me how to get that 'starwars' data so that I can practice symultaneously?
For the boxplot I made the slight modification as it is a little confusing to allow ggplot to measure some fictive second variable which is in fact not being used. Casual viewer will ask themselves what is special about +0.35 and -0.35. That is solved easily like this: starwars|> drop_na(height)|> ggplot(aes(x = '', y = height))+ geom_boxplot(fill = 'steelblue') + theme_bw() + labs(title = 'boxplot of Starwars character heights', x = 'Height')
Hi Greg! thanks a lot for the nice explanation. I encounter an issue in the min. 44:00. When trying to plot the t-test, I get "Error: object 't_test_plot' not found". How could I solve this issue?
I felt like I had eaten 3 plates 5 minutes before I started work. That's why I watched it at 0.5 speed for the 2nd time. Sorry for this. I wish it had been 3 hours and it was explained slowly. But thank you for your work. I will close this gap with your other videos..
Hi Greg, thank you so much for creating this channel on R programming. Just subscribed. I am amazed to find you have already created so many videos already. You ROCK!!
Hello, First of all ty very much for your informative video. The goin was very smooth form e at the beginning. However while trying to "plot()" the data of the the pipe operator I came across the following error: Error in xy.coords(x, y, xlabel, ylabel, log) : argument "x" is missing, with no default Normally I wouldn't have bothered you, and I tried checking the error @ online forums however me being an absolute novice in r and programming in general, couldn't get much help. would really be grateful if you'd help me out w/d this.
okay I was following along, mucking around at the starwars bit. I did a height/mass variable, arranged by new density/fatness variable. and apparently lukes Uncle Owen Lars is the densest or fattest human being in star wars. in fact, at only 5'10 (178cm) he apparently weighs 120kg (260lbs). Look up his actor, there's absolutely no way that dude weighs 260lbs at that height. so I did ?starwars and the data comes from starwarsapi, who absolutely refuse to list on their website or anywhere else where they pulled this data (their arse I believe.) googling around, joel edgertons weight is around 180lbs. Just about 70% of the character owen lars weight. so I think owen lars may in fact not be a carbon based lifeform. he's denser than darth vader!!!! he's only slightly less dense than General Grievous and some other robot guy.
Very good crash course into the workings of R. I do have to comment on the t-test that was done on the life expectancies in Africa and Europe, as this is just wrong from a statistics perspective. Fitst of all we are including life expectancies from the same countries for consecutive years, so there goes one of the main assumptions of the test that these are random samples. Since life expectancies are extremely correlated between years, this is almost like duplicating the data and making the t-test produce more extreme values. But also, these are not samples at all as this is just all the data, there is nu uncertainty, we can see the actual means and a t-test is not useful.
Hello Sir, I'm new to R and I learnt a lot from this video. Thank you for the video, Could you please make a video for the Genetic algorithm in R. Thank you
Hi Greg, this is great, My wife is taking this course and I looked at several videos that just made my head spin. You talk down to earth. LATER EDIT OF POST: I think my R studio had become corrupted, I restarted and it worked but still gave the error. ORIGINAL POST: I am having trouble with one ggplot code, the smooth. I think I have written exactly what you did but get this error: geom_smooth()` using method = 'loess' and formula 'y ~ x' (converted from warning) span too small. fewer data values than degrees of freedom.. I wonder if the android quadrant does not have enough points to create the smoothing line and this stops the operation. I place notepad beside your video and write everything on it and then copy and past to R studio and save all of my lessons so I can copy and paste later and just change perimeters. Again Thank you so much
Get my FREE cheat sheets for R programming and statistics (including transcripts of these lessons) here: www.learnmore365.com/pages/membership-r-programming-data-visualization-and-research-methods
For those who cannot see the starwars data set:
if (!require(dplyr)) install.packages("dplyr")
library(dplyr)
starwarsDF
Thank you
Thank you
Thank you sir!
still works - thank you!
Thank you!
This is a complete semester course described in detail in an hour. My Professor, who is paid to teach this course, will be unable to cover even half of what is shown in this video until the semester is through. When I raise inquiries about specific codes in class, the Professor becomes enraged. Greg, I can't thank you enough for this video and so many others. R programming is quickly becoming second nature to me. How can I get access to the linear model and other graphs you used to demonstrate some aspects of the programming? Thank you very much. You are simply the best!
So nice of you - thanks for the great feedback, Emmanuel. Much appreciated!! I'm glad that you found it helpful! 😊🙌👍
Lol this is so true
This is too familiar! Thank you for this channel it's a lifesaver
(I am adding shortcuts for myself, so if some of them are incorrect don't complain)
00:00 - intro
04:00 - basics
06:52 - Built in data sets to practice with
07:30 - installing and using packages
11:44 - Data structure and types of variables
[ ]
16:04 - Changing variable order
16:31 - changing variable name
17:00 - changing a variable type (factor)
18:12 - changing factor levels
19:36 - filter rows
20:31 - recode data
21:14 - dealing with missing data
22:00 - dealing with duplicates
23:31 - manipulate (create or change a variable[mutate])
23:21 - conditional change (if_else)
c.d.n
(I am adding shortcuts for myself),
i don't think so lmao, just shitting your poo in the comments to get some virtual attention
No complains 😂
no complains
i wanna know the link of star war data since i cannot find it, thanks!
I think it is in R once you download the tidyverse package@@jesshsu6684
as albert Einstein once said “If you can't explain it to a six-year-old, then you don't understand it yourself” . you are the best.
Thanks for the feedback. Much appreciated.
I cannot tell you how excited I am that I finally understand what I am doing in R! Granted, I've spent about 8 hours working through this 1 hour video, but it has finally "clicked." Thank you!
Great job!
No words can express my deep gratitude. Thank you so much, Mr. Greg. Please, keep up the great work.
Thanks for the fantastic feedback!!
Amazing smooth
WOW ... just WOW ... I learned more R code and syntax in your 1 hour of YOUR teaching than I have in a semester of school. Thank you.
Wow, thanks!
Greg, I absolutely love your teaching style. I was flip-flopping between R and Python and you have convinced me that for data exploration, graphing and statistical analysis, R is the best bet. No doubt I will still learn Python but your style of teaching is what has got me convinced and serious about learning R. I can't thank you enough.
I was searching for videos on R programming and stumbled upon your channel. The way you explain the concepts is so wonderful. Simple and precise. I like the fact that in many of your videos, you do touch upon topics that were taught in a previous video.
This video is like a refresher just before one is about to give his / her exam.
Thank u so much for putting in the hard yards and making life for us wannabe data analysts slightly better. Wish u the best in life!!!
I've watched four tutorials on R programming and yours is the best one! Not only concise, quick and relevant, but the way you talk about these topics is truly entertaining and captivating :) Thank you
Wow - what a nice thing to say (thanks!!)
I’ve been learning python for the last few months and haven’t used R in a long time… this is the perfect refresher I needed for an upcoming interview I have! Excellent stuff :-)
This category of videos boost up our interest on learning the programming languages .
Am immensely grateful. I am going into this and will come back to say how am doing. Thank you
I agree with your approach of using in-house data for these demonstrations 100%. I can't count the number times I have started a lesson (and even paid for it) and quit in frustration because I could not access or find the data they used. Some instructors use some "obscure" data from a R package but don't bother telling you it came from. Others use "external" data that is either no longer accessible (or needs a signup or API) or in has been "wrangled" from the original form into some other shape. Many times I have had to reverse engineer or simulate the data on my own. If you are trying to teach some specific task or topic then this misses the point of the lesson (reminds of my high school when our math books were in Swedish - not my native language - I and I was busy trying to figure out what the words meant rather than doing the math) .
So thanks for be so good about using built-in data rather than some obscure data!
Thanks for the great feedback Haraldur!
Merci beaucoup pour la vidéo. I'm experienced in SAS and Power BI, but did not know where to start on how to program in R. Your video touched upon all the important themes we need to know to get started.
I really appreciate the animation. Kept the lecture a lot more engaging and clear when you were reviewing the code
Glad you like it.
It was the "boom shakalaka" and "easy peasy lemon squeezy" that let me know I was in the right place. So much better than any boring University course teaching less and not as well. Thank you!
haha - glad you liked it... thanks for the comment
Thank you Greg. This video is a life saver. My last masters unit (From Fiji) required to use R Programming Language for the major assessment. I had never used R and coming from a non programming background i struggled in keeping up labs, this crash course truly helped. So many vital topics put in so amazingly, well knitted. I learnt more in this video then i had in my whole semester. Thank you and best wishes
Thanks a mill for this, Greg! I've watched the video 4 times and worked through all of it in RStudio. Not only did I learn a lot of R, I also did grasp some concepts in statistics that I've struggled with before. There's a big difference in the level of understanding when trying it out on your own. Awesome! I highly recommend putting in the time, it was so worth it. I've now downloaded the visualization cheat sheet as well, but that I think I'll have to save until the next weekend ;) Hope your weekend was just as great.
So nice of you - thanks for the great feedback Sofia!
the word I love you doesn't currently express how grateful I am. This is super helpful!!! Thank youuu!!
You are most welcome. Thanks for the lovely feedback.
omg I have been watching TONS of tutorials to no avail. I wish I'd found you weeks ago!
I cannot thank you enough. This has been such a huge help. I will be sharing this with the rest of the students in my Data Science unit and in the university Discord for future students. Absolutely brilliant teacher.
Glad it was helpful! Thank you!
Wonderful video!!! I can't recommend it enough! I'm an SPSS user, but I'm learning R programming to be able to run analysis anywhere I go for free (and on the run lol), and then to be able to help others with their own data analysis when they don't have SPSS. R is becoming a more universal package in my opinion. Thank you so much Greg Martin for all your efforts and dedication to teaching global minds :) keep it up!
Glad to hear that you enjoyed the video and that you're so enthusiastic about R (i really like it too).
Wow Rana - what a nice thing to say! Thanks!!
I've watched all 16 videos. Thank you very much for so much time to explain it all, Greg! Lots of thanks from Brazil! Dabadum!
Glad you like them! Thank you :)
Amazing video! Thanks for this. The only explanation I found missing in the video is that you need to code library(package_name) for the packages each time you open up Rstudio in order to use the package again.
You are Amazing! Thank you. It took me 6 hours because I stop the video and practice.. But, I learned the basics of R in even 58 minutes. Keep it up
I'm thrilled that my video helped you or provided you with useful information. Thanks for letting me know!
I was just getting started to jump into my Statistical Programming Course but I hate going into things blind. This was an EXCELLENT resource i was intimidated by R programming. This video honestly gave me a huge boost in confidence. Thank you.
Glad you’ve found it helpful.
This is the best tutorial on R programming
wow - thanks so much :)
Thank you so much for this rich yet concise introduction of R for data analysis. I found it so informative and beginner-friendly.
Glad it was helpful! Thank you very much!
Thank you! I'm self-taught in R a number of years ago. Getting back into it now, and your videos are excellent. I LOVE tidyverse! And your approach is really helping me re-learn and improve. Thanks
Awesome! Thank you for your great feedback! 🙌
Thank you so much! I looked through a lot of tutorial videos but found them slow, boring and confusing. But you are awesome teacher! 👌
I'm really attracted now, as a Biochemist and have found myself needing R knowledge, your video gave me hope, Sir. Remain blessed 🙏
Dr. Greg Martin, you close R programming in a bottle. Very good and Thanks
Wow, very quick and efficient way of learning how this program works!
Learned so much while following this course, have subscribed and looking forward to more videos created by you.
Thank you!
I appreciate the kind words. Your support encourages me to create more content that you'll enjoy!
The content is just wonderful. Much appreciated. I am studying environmental management and have no bg in programming. However, I always heard of R. With the help of your video, I learnt a lot of things. Cheers
Thank you so much Greg for sharing your hard-earned knowledge with the rest of us. You are doing a wonderful job; it is clear that it takes time and passion to make these informative, well-structured videos and for that I am greatly thankful. Wish you all the best :)
I appreciate that! Thank you very much!
Thank you so much for this video! I am a theoretically strong, data weak political scientist who is trying to learn more about using R. This was very helpful.
Thanks for the feedback, Shannon. Much appreciated. I'm glad that you found it helpful. You can do it! 😊
Very good course i agree. An hour is the official play time but obviously you will need a lot more than that to learn this, Greg is clear but very fast and you might find like me 0.75 playback speed sounds a bit more normal! And then you must pause a lot, maybe check stuff, try an alternative, etc etc
Master in Teaching and Explaining. Thank you, Sir.
So nice of you
I have learned so much, so much here!
Concise, clean, and amazing tutorial.
Thank you so much!
Thanks for the great feedback :)
Thank you so much for this course, very efficient and easy to understand!
Thank you for the video , I cannot begin to tell you how awesome it is that you explain everything in great detail, and make it way easier to understand.
Your video was so helpful , I am doing an online course and I have learned more in the last hour than I have in 2 weeks...
Again, thank you
This channel has been so helpful to learn and continually reference. Thank you!!
You are most welcome.
Total gratitude!, even some statistics theoretical aspects are much more clear for me now.
Glad it was helpful! Thank you for the feedback!
Great R tutorial. I learnt a lot in R programming. Thanks
Glad it was helpful!
bro your a herooooo you saved meeeee, and grant your self a long term subscriber and long life student, keep up mann
Awesome! All your videos are extremly helpful with my bachelor thesis!
Glad it was helpful! You are welcome
Great video. Thank you so much for your quick and accessible introduction to programming in R. 10/10
Thank you for watching and for your kind words! I'm glad you enjoyed the video.
it was worth it watching and practicing the whole long hour
you made my life easy with Shift+Ctrl+M, thank you very much!!!!
Glad I could help! Thank you for the feedback.
❤❤Thanks this was just the introduction I needed for R
I love the speed of your speech. Definitely, the content is more than 3 hours LOL. Very useful!
Glad you enjoy it! Thanks for watching!
Wow! I finally perfectly understand how to comfortably use the pipe operator in R! Thanks a lot ❤ !
Glad it helped! Thanks for the great feedback
Just what I needed. What a brilliant video! Can only agree with the top comments. I have programmed many languages, and found you made it both entertaining and I think you covered everything I wanted to know to get an introduction - you make it look easy peasy lemon squeezy - By the way, you didn't mention your name ;D just thinking that would be helpful, as maybe you are doing a conference sometime, then I would definetly want to see you present.
Super helpful and so easy to follow! Respect for the professor Greg!
R Programming 101, amazing content I really liked it
Glad to hear it :)
It's amazing work. Next time please drop the pdf of code or R code in the description. It'll be so much better. Thank you.
Great content Thank you. Visualization at 30 min and Ending at app 40min.
Thank you for the feedback. Much appreciated !!
This is amazing and very helpful for really getting started in R. Thank you so much!
This video works great. I only learn R as a side interest and part of the Exercism #12in23 challenge. But this showed me very well on what R can do and how to use. it.
Hey Greg I do not have the starwars dataset for some reason. Do you know why or how or where I could get the dataset?
This was extremely helpful I'm understanding R statistics and building up my confidence in my data analysis skills
thanks for the feedback
Thanks for the video. I got what I needed for work. I have to translate some R code into Python to run in Airflow for work. 😁
I think I understand the basics. I need to learn more about character stripping, substrings, and character replacing in R now. I have a script that replaces a certain number of spaces with one comma. Pretty simple.
I’ve followed all the steps but can’t view filtered starwars plot.. getting all kinds of errors about not finding %>% function
Update: had to download two other packages: dplyr and magrittr
@ 17:00 When explaining Re-Factoring you should explicitly clarify Factoring and distinguish between "Re-Classing, Re-assigning, Re-Typing, Re-Categorizing because you used the words pretty loosely and it was just an overall confusing section. I had to watch another video to explain what it was you were even talking about . Im a beginner but i was able to keep up perfectly up until that point.
Edit* Yo This section is a nightmare to understand if youre not actively googling what the words that are coming out of your mouth mean.
For example "...R hasn't identified it as a factor or categorical variable." Whats a Factor? Whats a Categorical Variable as opposed to a regular one? What are the common types of Factors and variables?
Its a crash course but there are things that are contextual pieces being glossed over. As a refresher course this is probably an awesome video, for someone with 0 experience then you might need a tutorial along side this tutorial.
Thank u for this video I have a big technical interview coming up and this gave me so much confidence
Glad it was helpful! Thank you :) all the best on your big technical interview coming up!
Oh My Good-ness!!! I just can-Not believe I just stumbled upon such a helpful video! Thank you so much!
Proper legend to have such amazing videos on R. Bonus that we both from SA. If you had a udemy course in R I would purchase it in a heartbeat
hi there - I think that I do have some on Udemy and also at www.learnmore365.com (thanks for the feedback)
You really made it super duper easy, thanks a lot for zooming!
Glad it was helpful! You're welcome :)
love this video so much but the dataset ''starwars'' is not available to me, I'm not sure why and I've tried adding it seperately but that hasn't worked so far, does anyone know a solution to this? It would really help since it's easier to follow along when it's the same dataset
I had the same problem. I solved it when I updated my R version from 3.6...something to R 4.2.2
eventhought a lot of stuff don't make sense to me, this is still a great video and serve as my foundation to go forward. Thank you so much sir
you talk fast but very knowledgeable, better than my lecturer... i had issues with the cheat sheet did not get an email..
Hi Luke, apologies about that, and thanks for your feedback. Have you checked your spam folder by any chance? Thanks!
Ehm, the starwars dataset is not in my version of RStudio, which should be the latest version (installed yesterday). This makes it hard to follow the instructions. When I write View(starwars) I get this response "Error in View : object 'starwars' not found" ??
Question, I wasn't able to install Starwars in my R Studio. It said it wasn't available on my version of R. I have a MacBook Pro with a mac OS version of R. Does anyone have any solutions?
Nevermind. I was able to get it downloaded on my own so I can now follow along with this video
Glad its sorted - happy day.
Happy to see this on Guru purnima.thank you for the video sir .Happy guru purnima.
So nice of you! Thank you for the feedback.
Excellent video! Have been trying to practice with this video, getting the 'starwars' data is not in the r sample data. Can anyone tell me how to get that 'starwars' data so that I can practice symultaneously?
loving the occasional 'boom shaka laka' hahaha, very entertaining and informative. thank you
Very nice! My head is spinning, but the material presentation was excellent. Thank you.
Glad you enjoyed it! Thanks
For the boxplot I made the slight modification as it is a little confusing to allow ggplot to measure some fictive second variable which is in fact not being used. Casual viewer will ask themselves what is special about +0.35 and -0.35. That is solved easily like this:
starwars|>
drop_na(height)|>
ggplot(aes(x = '', y = height))+ geom_boxplot(fill = 'steelblue') + theme_bw() + labs(title = 'boxplot of Starwars character heights', x = 'Height')
Another excellent tutorial from Greg. We expect another 1-hour R video soon , may be a series rather than short videos why not?....Thanks again
Good idea! Thank you for the feedback. Glad you enjoyed it!
Hi Greg! thanks a lot for the nice explanation. I encounter an issue in the min. 44:00. When trying to plot the t-test, I get "Error: object 't_test_plot' not found". How could I solve this issue?
will look into that and get back to you
I felt like I had eaten 3 plates 5 minutes before I started work. That's why I watched it at 0.5 speed for the 2nd time. Sorry for this. I wish it had been 3 hours and it was explained slowly. But thank you for your work. I will close this gap with your other videos..
Thank you Dr. Greg, very much appreciated - fantastic videos
Hi Greg, thank you so much for creating this channel on R programming. Just subscribed. I am amazed to find you have already created so many videos already. You ROCK!!
Welcome aboard! Thank you for subscribing!
Thank you so much Prof, extremely helpful!
you are most welcome
43:43 - Hypothesis Testing
Thank you so much for all this détails
You are so welcome!
Great video thanks. BTW: "startwars" is part of the library(dplyr), not tidyverse
Thank you so much for this. It was REALLY helpful!
Hello,
First of all ty very much for your informative video. The goin was very smooth form e at the beginning.
However while trying to "plot()" the data of the the pipe operator I came across the following error:
Error in xy.coords(x, y, xlabel, ylabel, log) :
argument "x" is missing, with no default
Normally I wouldn't have bothered you, and I tried checking the error @ online forums however me being an absolute novice in r and programming in general, couldn't get much help.
would really be grateful if you'd help me out w/d this.
I have the same problem :(
Does anyone know if there is a keyboard shortcut for the "%in%" command - first appears @32:05
okay I was following along, mucking around at the starwars bit. I did a height/mass variable, arranged by new density/fatness variable. and apparently lukes Uncle Owen Lars is the densest or fattest human being in star wars. in fact, at only 5'10 (178cm) he apparently weighs 120kg (260lbs). Look up his actor, there's absolutely no way that dude weighs 260lbs at that height.
so I did ?starwars and the data comes from starwarsapi, who absolutely refuse to list on their website or anywhere else where they pulled this data (their arse I believe.)
googling around, joel edgertons weight is around 180lbs. Just about 70% of the character owen lars weight. so I think owen lars may in fact not be a carbon based lifeform. he's denser than darth vader!!!! he's only slightly less dense than General Grievous and some other robot guy.
I discovered R from Shiny. Now my users can do approximate searches across 2 million records, all wrapped in a lovely web UI
Absolutely amazing. I have to share this 🙏
Absolutely fantastic! Hugely helpful, thank you!!
Great job! Very informative and helpful. Thanks a lot.
Very good crash course into the workings of R. I do have to comment on the t-test that was done on the life expectancies in Africa and Europe, as this is just wrong from a statistics perspective. Fitst of all we are including life expectancies from the same countries for consecutive years, so there goes one of the main assumptions of the test that these are random samples. Since life expectancies are extremely correlated between years, this is almost like duplicating the data and making the t-test produce more extreme values. But also, these are not samples at all as this is just all the data, there is nu uncertainty, we can see the actual means and a t-test is not useful.
Thanks very much for those insights.. I'm always happy to learn. I think that you make an excellent point.
Hello Sir,
I'm new to R and I learnt a lot from this video. Thank you for the video, Could you please make a video for the Genetic algorithm in R. Thank you
Thank you for the suggestion and your feedback - much appreciated!
Hi Greg, this is great, My wife is taking this course and I looked at several videos that just made my head spin. You talk down to earth.
LATER EDIT OF POST: I think my R studio had become corrupted, I restarted and it worked but still gave the error.
ORIGINAL POST:
I am having trouble with one ggplot code, the smooth. I think I have written exactly what you did but get this error: geom_smooth()` using method = 'loess' and formula 'y ~ x' (converted from warning) span too small. fewer data values than degrees of freedom..
I wonder if the android quadrant does not have enough points to create the smoothing line and this stops the operation.
I place notepad beside your video and write everything on it and then copy and past to R studio and save all of my lessons so I can copy and paste later and just change perimeters.
Again Thank you so much