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 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 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'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
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’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 :-)
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.
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!
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
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!
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 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 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.
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
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.
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!
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.
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!!
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 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
@ 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 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 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.
Dude you are a godsend! This tutorial is 10/10 for a person wanting to learn R with absolutely no programming experience! I hope your channel grows and you produce more R content!
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
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.
Wonderful job explaining this, I thank you so much for putting this video out here for free! I learned and re-learned so much of these that I previously were not able to understand in class!
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')
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
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
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" ??
Big Sur Greg! Amazing channel you have here, helped me a lot while following a professional R course on edX! I'm wondering if you could make a video on project organisation in terms of coding, file and folder management. Topics to keep in mind such as modularity, functions and package management (sourcing) and raw and cleaned data and the like. Like a flowchart of steps. I've tried separating (aiming for modularity) but it doesn't feel quite right yet! You describe a process for data analysis. How do you go about working on projects that grow big? How do you organise them, keep everything tidy? What does your file structure look like in general? I'd love to get your take on that. I currently have a lot of different projects and I'm working a lot with API data related to different fields and topics and I'm trying to get a solid structure or framework in place for these analysis to be scalable, reproducible and lean..... harder then it looks!! Your take is much appreciated! Cheers from the Netherlands.
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
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?
hi Aaron - yes indeed. If you're going to be an epidemiologist then then will be a valuable tool. I work in Public Health and use R all of the time. You might like my global health with greg martin UA-cam channel that has quite a lot of epidemiology teaching.
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
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
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 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!
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.
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!
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!!)
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!
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 :-)
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.
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!!
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
I really appreciate the animation. Kept the lecture a lot more engaging and clear when you were reviewing the code
Glad you like it.
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 :)
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 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!
omg I have been watching TONS of tutorials to no avail. I wish I'd found you weeks ago!
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.
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
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!
Never thought I would be able to do this. About to start a course on R in graduate school, and I feel so prepared because of this video! Thank you!
Best of luck!
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
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!
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!
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 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!
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.
Thank you so much! I looked through a lot of tutorial videos but found them slow, boring and confusing. But you are awesome teacher! 👌
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! 🙌
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!
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.
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!
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.
I have learned so much, so much here!
Concise, clean, and amazing tutorial.
Thank you so much!
Thanks for the great feedback :)
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
I'm really attracted now, as a Biochemist and have found myself needing R knowledge, your video gave me hope, Sir. Remain blessed 🙏
@ 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.
Dr. Greg Martin, you close R programming in a bottle. Very good and Thanks
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.
Awesome! All your videos are extremly helpful with my bachelor thesis!
Glad it was helpful! You are welcome
This channel has been so helpful to learn and continually reference. Thank you!!
You are most welcome.
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!
Master in Teaching and Explaining. Thank you, Sir.
So nice of you
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
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)
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! 😊
Thank you so much for this course, very efficient and easy to understand!
This is amazing and very helpful for really getting started in R. Thank you so much!
This is the best tutorial on R programming
wow - thanks so much :)
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.
Oh My Good-ness!!! I just can-Not believe I just stumbled upon such a helpful video! Thank you so much!
Total gratitude!, even some statistics theoretical aspects are much more clear for me now.
Glad it was helpful! Thank you for the feedback!
bro your a herooooo you saved meeeee, and grant your self a long term subscriber and long life student, keep up mann
you made my life easy with Shift+Ctrl+M, thank you very much!!!!
Glad I could help! Thank you for the feedback.
Super helpful and so easy to follow! Respect for the professor Greg!
❤❤Thanks this was just the introduction I needed for R
Great R tutorial. I learnt a lot in R programming. Thanks
Glad it was helpful!
Dude you are a godsend! This tutorial is 10/10 for a person wanting to learn R with absolutely no programming experience!
I hope your channel grows and you produce more R content!
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
This was extremely helpful I'm understanding R statistics and building up my confidence in my data analysis skills
thanks for the feedback
This is the best video on UA-cam.
wow! what lovely feedback - thanks :)
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.
loving the occasional 'boom shaka laka' hahaha, very entertaining and informative. thank you
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
You really made it super duper easy, thanks a lot for zooming!
Glad it was helpful! You're welcome :)
R Programming 101, amazing content I really liked it
Glad to hear it :)
My God. Makes lots of sense now. Thanks so much.
You are most welcome.
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!
This is simply amazing!! Thank you so much!
You're so welcome!
it was worth it watching and practicing the whole long hour
Very nice! My head is spinning, but the material presentation was excellent. Thank you.
Glad you enjoyed it! Thanks
Wonderful job explaining this, I thank you so much for putting this video out here for free! I learned and re-learned so much of these that I previously were not able to understand in class!
Thank you Dr. Greg, very much appreciated - fantastic videos
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!
Great content Thank you. Visualization at 30 min and Ending at app 40min.
Thank you for the feedback. Much appreciated !!
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?
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')
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.
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.
Absolutely fantastic! Hugely helpful, thank you!!
Thank you so much for this. It was REALLY helpful!
Great video thanks. BTW: "startwars" is part of the library(dplyr), not tidyverse
Great job! Very informative and helpful. Thanks a lot.
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
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
This has been really helpful for me in my current job. Thanks you 👍 ... Any chance you could do Plotly and Markdown HTMLs in an hour long episode? ❤😅
Absolutely amazing. I have to share this 🙏
Thank you so much Prof, extremely helpful!
you are most welcome
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" ??
Big Sur Greg! Amazing channel you have here, helped me a lot while following a professional R course on edX! I'm wondering if you could make a video on project organisation in terms of coding, file and folder management. Topics to keep in mind such as modularity, functions and package management (sourcing) and raw and cleaned data and the like. Like a flowchart of steps. I've tried separating (aiming for modularity) but it doesn't feel quite right yet!
You describe a process for data analysis. How do you go about working on projects that grow big? How do you organise them, keep everything tidy? What does your file structure look like in general? I'd love to get your take on that. I currently have a lot of different projects and I'm working a lot with API data related to different fields and topics and I'm trying to get a solid structure or framework in place for these analysis to be scalable, reproducible and lean..... harder then it looks!!
Your take is much appreciated! Cheers from the Netherlands.
Thanks for the feedback and suggestions!! Will definitely follow up. Great ideas.
@@RProgramming101 Looking forward to it!
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!
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?
What is better for bioinformatics and system biology? Python or R?
In my view, R is better.
Thank you so much for all this détails
You are so welcome!
Do you feel this is the programming language to learn as an aspiring Epidemiologist completing their MPH Epidemiology degree program? Thanks Greg!
hi Aaron - yes indeed. If you're going to be an epidemiologist then then will be a valuable tool. I work in Public Health and use R all of the time. You might like my global health with greg martin UA-cam channel that has quite a lot of epidemiology teaching.