learning to code in R in 3 hours
HTML-код
- Опубликовано: 21 авг 2024
- R is an open source programming language designed for statistical computing. Here's my efforts at learning the basics (I have an exam in R this April sooo better get going!).
Follow me on instagram: @_paige_y
/ _paige_y
If you're a dog-lover, follow Buster on instagram: @_buster_y_theborderterrier
/ _buster_y_theborderter...
My WFH office and filming equipment (affiliate links):
Gaming chair - amzn.to/3sPuU0M
Daylight lamp - amzn.to/39c0qOJ
Laptop stand - amzn.to/2Mii1LM
Tripod 1 - amzn.to/3pIp1A2
Tripod 2 - amzn.to/3pFaVPK
Mini Tripod - amzn.to/3nbluIW
Lights & Backdrop - amzn.to/38bihVo
Gimbal - amzn.to/3ne0bpY
Film on iPhone XS - amzn.to/38UDrGs
FAQ:
How old are you? I'm 22.
What's your job? I work as a Risk Analyst in Insurance Consulting, and am studying to become a qualified actuary.
What did you do at university? I studied Physical Natural Sciences at the University of Cambridge, and specialised in Astrophysics.
If you'd like to see more from me, check out my playlists:
Cambridge vlogs - • MY FIRST WEEK AT CAMBR...
Days in the life - • DAY IN MY LIFE: STUDY ...
Actuary grad job - • NEW JOB FIRST DAY | ac...
Actuarial studies - • SIGNING UP FOR 5 MORE ...
Real time study with me - • REAL TIME STUDY WITH M...
Intro credit: @Manique Here
I learned R when I was 48 years old. At that time I hated typing command lines and could not understand why R was not made like SPSS. However, now I am enjoying analyzing data for myself using R.
"Hi there, mate! It's funny that I'm about to move back to the UK after living in the USA for some time. I'm 49 years old, and when I read your comment, it really resonated with me. My background is in commodity trading, but I'm currently studying Google Analytics to try and secure a job in data analysis in London. Sorry if I'm rambling a bit, but your comment gave me some hope, as I was worried that I may be too old to learn R, which is often required in data analysis roles. Thank you for your encouragement!"
Let's face it, my Friday afternoon is always good with a PaigeY video.
Oh,yes,my friend. I like her also!Her video always bring me power!
Paige : "Argh exams in April, gotta start right away!!"
Me : "Oh exam is tomorrow? I'll start at night. Or tomorrow morning. Or 1 hour before exam, whatever."
Ahaha but I’ve also got to work 4 days a week alongside revision 😅
@@PaigeY I also have my CS1 Exam and I haven't even started studying T_T
I am going to have exams really soon and the only thing which motivates me is PAIGEY❤️❤️ ❤️ . Wish me luck 😃
Good luck good luck good luck!
I loooove making plots with R/ggplot. It was my favorite part of my master thesis 😂
Seeing this video makes me nostalgic 🥲
JS I looove ggplot, I don’t think I’ll ever let go of it
I had to know R for 3 different lectures during my business bachelor's. The whole time I thought "why the hell am I doing this, nobody uses this program" but it seems like others are actually using it as well! Finally understanding why my professors forced us to understand the program 😂
Deffo a handy skill to have!
@@PaigeY
You are Gorgeous and look really pissed off you have to do all this horrible work.
Two minutes ago?! This is awesome, great company for doing my work. Greetings from México, Paige!
The real win: I watched PaigeY learn R in 3 hours in 11:21 minutes
Thanks Paige! Your videos really motivate me to be produtive during this time, hope you're keeping well during Lockdown!
You too!!
Some advice for learning to code from a final year CS student- try and break down the problem into lots of baby steps .
Sometimes people get stuck and aren't sure how to solve a problem cause it just seems big. The thing that always helps me is getting a pen and paper out and just explaining myself through the steps that need to happen.
Also, don't feel bad if your code doesn't run the first time you compile it. It happens to us all.
Randam_Queen this is really good advice
good advice!
Hi I am trying to learn R programming. Can you suggest me some resources
I work at one of the large banks in Australia which creates the wholesale models as a Quantitative Analyst, and a lot more in R. Anyone can learn R but it is difficult to say when you can consider yourself an expert, I use it there and in my research. I have been using it since 2014 and thought I was pretty good at it until we had to start using R6 or RCPP and be less reliant on packages and use as much as possible base R for regulatory use and transparency. I have a heavy education in Mathematics & Statistics, bachelors and masters and now a research degree, so I use both R and Python if I need to.
Friday afternoon, a PaigeY video. Nothin' better!
R is wonderful, I use it in my classes and for my research work as well :)
This is such perfect timing as I just started taking an R course as well! Definitely lots to learn 😅
If someone wants to learn how to code, please check out w3s, they are great for the basics and more!
9:46 this literally made my day haha "oh my god your plant just died" 😂😂😂
Whoops
if you want to change the axis limits you can use xlim=c(start, end) or ylim=c(start, end) just inside of the plot function. If you want to make it a bit more automated you could use some things like ylim=c(min(y)-const, max(y)+const)
Hi Paige
I am doing good thanks for asking. As I can see your learning code in this video and as a 8th grader I am also learning hpw to code. Why? Well 1 its for fun and 2 I always loved it so I wanted to learn it. I am currently learning Java and when I finish that I will start learning Kotlin and Phyton. Well anyways early good luck on your exam and have a lovely day.
Oh boy I'm so glad you uploaded this, Paige! I started a course in Biostatistics in Public Health by Imperial College London on Coursera a few months back, and my experience of it has been miserable! It's really great to see everyone sharing resources about R here.
YOU HAVE REACHED 191K PAIGEEEEEEE CONGRATSSSS QUEEEN!!
I studied R for 3 months and I still hate it lol, the bane of a biologist’s existence
Use datacamp.com or www.homeworkhelponline.net next time, it definitely helped me ;)
r is so fun don't hate on it
Ahaha oh noooo
and psychologists learn more R even than medicine students sooo
Try julia
Loving the new content and intro
Editting is improving ❤️
I'm seeing this while I'm finish my R script to my Risk Theory final project and is so relaxing to see someone coding too.
Your sister's reaction she saw her plants 😂😂
Hi Paige, I learned how to code R in full within a few days with the help of 'Marinstatslectures R', it is immensely help and was quite recreational for me. I know learning R under timed conditions is the most amusing thing to do, but if doing so Marinstats is the place. However, only choose the skills that you are assessed on, as their are quite a few videos out there.
Résumé of my past 15 minutes:
Got a bit worried Reading all sorts of comments of biologists and researchers telling how they use R for Research statistics
(Side info i am a biomédical scientist student in first year of uni)
I go to my degree descriptions and find Biostatistics I in my 3rd year. Course description confirms m'y greatest fear: I too will hâve to learn R for m'y degree.
Ahah seems like R is a key tool for statisticians!
I just use Python for everything. haha Leader of a Chemoinformatics group I work at said it doesn't really matter which one you use. I believe Python can do almost everything as R can. It might not be as pretty though. But I only know Python and Pandas and so far it was enough for my occasional needs in research.
It’s funny that video is about R but on thumbnail is HTML, btw I recommend to look at markdown in rstudio it can produce nice reports
Haha shhhh I couldn’t find a suitable image of R code for the thumbnail 😂😂
@@PaigeY let's say it was an easter egg for advanced subscribers 😉
I guess this video is a reminder for me to start learning coding😂 and good luck to you Paige
Hope you can actually launch more videos with R ( especially about how to generate graphs etc) as your demonstration was way better than some lecturers
I am LOVING the overall Aesthetic of the video !!!! ❤️
As a Compsci major, I love seeing stuff like this. lol
"The stress levels of these plants" XD
I'm trying to fit in with using XD.
Sorry plants 😆 (you’ll be pleased to hear they perked up again eventually 🪴)
@@PaigeY hehe
Good luck! Will be following this, learning R and it seems interesting especially with visualisations
It's great to see that just like many of us you also struggle with coding. I've been trying to improve on my still very basic coding skills but I never manage to stay consistent with it :(
Cheers from Argentina!
I’ve still got quite a way to go, but sticking with it!
Thank you for making a quick, understandable intro to R for mere mortals. :) a Great job and now I will go review more in-depth R lang vids presented by dudes with 2 propellers on their Beamies. LOL
Programming is such a challenge for me! Hope to learn from you Paige! x
You remind me of myself when i needed to install sage pastel for my uni exam than write a "sage exam" and my biggest hurdle was to download the software
Had to learn R in university as a Masters course on Quantitative Data Analysis so seeing you teach yourself is quite interesting
"Curly brackets"
Hey Paige my tutor recommended swirl to learn r and I find it pretty useful, greetings from Mexico!
I hate it so soooooooo much using swirl. The messages given to the users are not helpful
@@wan3371 I’m a beginner and don’t have experience with any other learning materials so I wouldn’t know, what have worked for you the best?
I am in Epidemiology and prefer SAS vs R, but R is super nice to know because it is free! But I understand the frustration!
It's the other way around for me. Currently using SAS in my work study program. It is the bane of my existence.
This past semester we learned to code in R for a project on a metabolic syndrome of our choice. It was really cool!
hope your exams go well. you inspire me to study. how honest your vlogs are.
Such a different and interesting video!!! ☺️☺️☺️
R is one of the most scary thing I need to learn in Uni
Hiii, it is great to see you updated on your life😍
U ARE AMAZING COOL AND EASY GOING!!!!! Keep it up
I have my A-Level Comp Sci coursework due verrryyy soon and I’ve been putting it off! Honestly, coding is so tedious and boring and I kinda suck because COVID happened last year obviously, but I HATE CODING (prefer comp sci theory a lot more but now exams have been cancelled 😭!)
OMG Someone else who is a compsci major who struggles with the coding aspect of it. 😩
One of my 2020's resolutions was to learn how to code. So, I enrolled in online Python courses, then a professor suggested me to learn R and I enrolled in that course too. I was having a really hard time mentally, so I kinda abandoned the courses and then took a subject about Computational Physics in Uni, in which I learned Julia.
Sooo, now I have just basic knowledge of those three languages, not having enough level in any of them to "defend" myself 😂😂
I wish you the best at learning R, Paige! I think programming is very funny and interesting once you start familiarizing with it.
Just stick with python dude, the syntax of python makes it easy to focus on the concepts of coding without some silly syntax requirements of some other languages like c++.
Within python you should focus on learning all the standard data structures and how to implement them in python. These data structures are lists, binary trees and basic algorithms that make these structures powerful. Once you learn enough to implement data structures in python then you can worry about other languages and now you can focus more on learning other languages syntax quirks while being comfortable with coding concepts.
@@BlastinRope I agree, python is also a very flexible language, so if you want to program stuff other than statistical analysis you can switch really easily (machine learning, web-development, automation etc...).
Thanks for the Tips Eleven!
This video made me so excited! I love R so much
I use Python all the time and PHP. Studying Computer Science at Oxford.
As a Computer Science student this makes me so happy!! I don't know R but I know Python, Java and JavaScript. I just wanted to point out that I think you would be a good teacher (obviously that's not your career path) but all your explanations were really beginner friendly and as someone who is interested in going into Computer Science education there so many things that I take for granted like explaining what the console is, that code is case-sensitive etc. But you are clearly picking up the main concepts quickly!! I have complete faith in the techniques you are using to learn, Have you learned other languages before?
I always think I'm a bumbling mess when trying to explain something so that's really nice to hear, thanks! I've used MATLAB a fair bit and limited experience of PowerShell and VBA, but no expert! Really want to improve my coding skills in the next year :)
Hey Paige to anyone who is thinking of learning R here is how my ex bf got his first job out of college. It was in a polling stats company.
Job description: "MUST KNOW R." Nothing else was in it. He showed up for the interview. The interviewer: *glances at CV* do you u actually know R?!?!
Him: yes? I did stats in college?
Them: can you start monday????
:p
Woahhh the power of R
@@PaigeY yes haha i meant to say in Ireland college means uni but i was not joking when I say the entire job description was "must know r" and nothing else!
Congrats on starting R! You’ll def progress quickly with more practice :)
Heyy paige great job i think you nailed it ❤️❤️❤️best of luck with your exams love yaaa paige omg your soo beautiful have a nice day paige
Loving the new content and intro
Editting is improving
I also had to go through this. Good luck for your exams. I have one next week- Wish me luck!
Good luck 🍀
mmmmmaaaaaaaaaaaa goodnesssssss you're so funny! i love your accent and particularly this video explaining R is easy for me because i'm trying to work on my english (because #mexican)... anyway. This is pure gold. Congrats!!!
I love PaigeY videos♥️
Working with actuaries on R feels just so good. Are you also using the IFoA book for learning?
Amazing viddd paigeeee
Paige best vibes for your learning sessions ... Good luck
It would be nice if You could share your R knowlegde 🙊 ... I studied econonomics so I also have to learn statistical programs. By the moment I have been working with Stata but I'm interested in R and SPSS because are really useful for educational and psycological research (My work topics)
Again sorry for my English XD
more R content would be awesome. I just started learning it, too
Lots of love paige..By the way, how is your office going? And also ‘tha’😅😅
Good luck with passing R exam. I believe in you.
I like how you could see the plant slowly wilting throughout the timelapse 😂
I know right, made me chuckle while editing 😂 the plant has since recovered!
@@PaigeY haha poor thing. Glad to hear it's doing better 😂
As with any programming language, the learning curve is very real. Once you do gain some fluency, you quickly realize R is a deeply powerful statistical language. It has changed the way I do science!
Yasss comments like this make me excited to learn!
@@PaigeY The serious power of R comes from the multitude of packages available for it. If you can conceive of any statistical process, most likely a package already exists for it.
it would make 100% more sense if you showcase your screen, what you are looking at, as primary, and have yourself on a smaller screen.
there are also alot of R Cheatsheets for the different packages available on RStudio’s website ☺️
She said "How "R" you?" 😂
today I am going to learn Java in 3 hours, because I hate myself that much.
joke aside, awesome video
watching this whilst waiting for my colleague to fix my code for me
You are lucky to have a family that supports your work. I am jealous🤢
you know she's a natural coder when first thing she does is switch background theme to dark
Faking it til I make it 😋
I'm so bad at math, even statistics. I have a Masters in Socio spatial planning where we didn't use statistics. I don't understand a thing of what you're doing and R makes me scared remembering the SPSS statistics in my Bachelors, but still I like watching this video:')
Great video!
Wondering if you've made any reserving models in R for general insurance (IBNR, UPR, etc.)
i’m so sorry that i missed the upload...but i was studying biology tho. atleast my evening wasn’t unproductive. i’m proud of myself😌
Those programming time lapses are so interesting and motivating 😘👌
Hi Paige.
You can increase the height of your y-axis by adding the argument ylim=c(a,b) inside the plot() command, where ‘a’ is the minimum and ‘b’ is the maximum of your desired y-axis.
Hope this helps! Feel free to contact me if you would like any help.
Thanks Paige.
~Caitlin
🌟
Another video of Paige. Yeah!! 🤪 😍
What did the enter button ever do to you :o you smash that thing to bits
FIrst of all, all my respects for having a windows laptop
i didnt understand anything but still watch the whole video
First time, I saw a youtuber, who use dell to code. Quite surprising.
I am in the middle of studying Tax Law and I find this video of paige studying R much much interesting...
It's good still bcz I do need to know one day how to run statistical computing program to work in consulting firm (hopefully)............right? right.....
❤your jumper PaigeY
hm the title of the video is "... to code in R.. " but why does she say "A" programming language?
i dont know whats with astrophysics people always too smart
Im very interested to know what the outcome was. Did you end up passing the exam with the little bit you did here?
Hey, I just found your channel and just for curiosity I wanted to ask you, how did you study sciences and ended as a risk analyst? Don't you need more like an economic studies background for that? I have a degree in biology and i'm currently studying computer sciences btw. Do you have a video where you talk more about your career and your background? Thank you.
Hey! I explain it all in these 2 videos: ruclips.net/video/eCf6oJBuaV4/видео.html and ruclips.net/video/n6j_WknDtlw/видео.html
Where have you been my whole life this video was sick
Paige, how many exams do you have to write in April?
There are 3 papers in total, each around 3 hours long I think!
@@PaigeY I wish you good luck in your three exams. I am sure that you will do well.
Just a suggestion Paige-I feel the title card in the beginning makes your vlog very similar to other vlogs. The very raw form of editing with just the time mentioned in bottom right seemed much more unique and real. (university vlog formats).
Appreciate the feedback! Will have a think about it
Question if I created a worksheet with r that worksheet would be insert at the far right of the excel sheet what if I wanted to insert after the second sheet at the front how would I do that ?
Yeah, right....! This reminds me of that guy that said he could teach anyone speak Icelandic over breakfast. By the way, R is fun!
Don't forgot the 80/20 rule. It takes
Can you share the doucments, and i expected a tutorial and not a vlog
Hi Paige, can you make more study with me vids, even pre-recorded😊?
I'm Junior .Net dev (before that I was Junior Java dev) and I think I have experience with many programming languages. What I can say is that coding in R was for me one of the worst experience 😂 Still don't know how i passed all exams in R and got my MSc degree. I think that python makes more sense, is more friendly, has some cool libraries and is kinda familiar to other programming languages. R has like completely new rules for everything I knew. Hope you'll pass all exams and R will help on your work in actuaries ❤️ And I can't from your sister reaction to plant 😂😂😂