Getting started with R: Basic Arithmetic and Coding in R; Learn how to turn R software into a fancy calculator! To learn how to Install & Setup R and RStudio watch this Video Tutorial: ( ); 👍🏼Best Statistics & R Programming Language Tutorials: ( )
►► Like to support us? You can Donate ( Share our Videos, Leave us a Comment and Give us a Like or Write us a Review! Either way We Thank You!
In this R video tutorial, we learn how to assign values to objects in R, how to turn R into a fancy calculator and perform basic arithmetic functions (+, -, *, /) in R, and more.
In this R video tutorial, you will learn:
►How to assign values to object is R using the equal sign (=) or less than sign with dash
►How to use ls function to see the data stored in R
► How to use rm function to remove an object in R
►How to add, subtract, multiply, and divide in R
► How to use sqrt function in R to find the square root of an object
► How to use log function in R to calculate logarithms
► How to use exp function in R to take the exponent or anti-log
► How to use abs function in R to calculate the absolute value
► and a few handy keyboard shortcuts in R
►►Watch More:
► Intro to Statistics Course:
►R Tutorials for Data Science
►Getting Started with R (Series 1):
►Graphs and Descriptive Statistics in R (Series 2):
►Probability distributions in R (Series 3):
►Bivariate analysis in R (Series 4):
►Linear Regression in R (Series 5):
►ANOVA Concept and with R Series
►Linear Regression Concept and with R Series
◼︎ Table of Content:
0:00:20 How to assign values to an object in R
0:01:46 How to see what is stored in R? We use “ls” function to see what is stored in R
0:01:57 How to remove an object in R? We use “rm” functions to remove an object in R
0:02:52 How to assign values to objects in R
0:03:37 How to do basic arithmetic in R
0:04:50 How to take the square root of an object in R
0:05:07 How to use the “log” function in R
0:05:12 How to take the exponent or anti-log in R ? we use the “exp” function to take the exponent or anti-log in R
0:05:30 How to calculate the absolute value in R? we use the “abs” function to calculate the absolute value in R
0:06:14 a few handy keyboard shortcuts in R
0:06:41 Including comments and notes to self within codes in R
This video is a tutorial for programming in R Statistical Software for beginners, using R Studio.
Follow MarinStatsLectures
Subscribe:
website:
Facebook:
Twitter:
Instagram:
Our Team:
Content Creator: Mike Marin (B.Sc., MSc.) Senior Instructor at UBC.
Producer and Creative Manager: Ladan Hamadani (B.Sc., BA., MPH)
These videos are created by #marinstatslectures to support some courses at The University of British Columbia (UBC) (#IntroductoryStatistics and #RVideoTutorials for Health Science Research), although we make all videos available to the everyone everywhere for free.
Thanks for watching! Have fun and remember that statistics is almost as beautiful as a unicorn!
source

👋🏼 Hello there! In this R video Mike shows how to assign values to objects in R, remove objects from R and turn R into a fancy calculator with simple codes and functions. Wanna see how these arithmetic functions work on vectors and matrices in R? watch https://youtu.be/2TcPAZOyV0U -If Like to support us you can Donate (https://bit.ly/2CWxnP2), Share our Videos, Leave us a Comment and Give us a Like 👍🏼 ! Either way We Thank You!
What an explanation, it really appreciated me, lots of good wishes for you Marin sir, the video is very helpfull
I have watched the entire series and will state categorically that these are some of the best videos to start learning R. Marin uses base R and introduces the student slowly and systematically step-by-step into R rather then racing a light speed into pipes and the tidyverse. His videos prepared me for more advanced work in R.
Thank you. This is really great!
😀
Hello! I am hoping to get a copy of the LungCapData. The git links to the data won't open in a page where I can access. Is it possible to get the data another way?
It's 2024, 11 years later and I still find it very helpfull and friendly tutorial. Thanks a lot Mr Marin.
How do you insert "square" from the keyboard?
Thanks a million Prof. Marin.
A big thank for all your awesome videos on R and the others. It has really helped me in a lot of ways. God bless you!
Is these vedios sufficient to get industrial placement for statistics graduate?
Is this beginners tutorial playlist still relevant with r today, or have there not been any changes? I am starting grad school and wanted to get a head before class starts.
Object names can start with numbers too … u put the object name in inverted commas.
It's a very good video and I'm already learning alot. Thank you.
👌🏻👌🏻👌🏻👌🏻
You explain very well… understood everything … thank you for explaining it so easily … I have my practical tomorrow, just have a small doubt … The last thing which you have told in this video that we can use the # sign nd write notes to remember wht we wrote in the code, i want to ask wht’s the significance of that like we can’t call it if we want right? so is it just for our understanding that if we scroll up nd see that command so reading that note below that command we can just get to know wht that code was for … is it just for that?
I am from India,. Nice lecture for statistics in R
Sir, congratulation on your 100 K subscription.
perfectly taught. Thanks owner
Thank you for this useful playlist! 😀
Hii Marin
Your work is awesom. All the stuff is really very helpful . Love from Pakistan
Great video! Thanks for making it.
Thank you so much..this has been very helpful
Why would any sane person type two characters, < and -, when they can type one character = ?
hello sir, there is a shortcut which you said in one of the videos to look up to all the variable names created. I am not able to find it. please let me know
Thank you!!
Sorry about my negativity on one of your videos (forgot which one). Turns out the issue was my computer not you or this program.
Trying to grasp it, but got lost immediately. Your first task states that you are going to assign a value to an object. What object? Is the object something already created or am I creating it now? Is it a stand alone object (to be used by itself) or is it a object that is part of something else (and can only be used in totality?) This may say it is for "Beginners" but what do I need to be pre-beginning? I am an older individual trying to finally learn coding for something I have published on close to 30 years ago.
I have been trying to fine an R Programming video series for the last few months. I finally found a winner! Marin, you saved me!!
Loving the series! Do you guys have anything about Coding in R for bayesian statistics?
i'm beginer, currently started to learn R, had search and seen lot of video's. Finally i have to started from this one thanks
Thanks Mike.. Just started with R.. I will watch your all video one by one to learn R with fun.. I like the way you are explaining everything..
How do I get the "workspace" tab?
Thanks a lot Mr.Martin, I look forward for more videos as am new to this software and want to do some research work with my husband using r program.
thanks , your videos are fantastic really
How to enter a command in R in mac ?
i cant download rstudio would anyone please add a download link
DO THE WORK GET SAVED WHEN WE DO IT ON CONSOLE NOT IN THE PROGRAMMING AREA ?
wow what a wonderful introduction.very encouraging. You've created a positive attitude towards R,it seems to easy for me. Thank you.
Thanks Kermit!
How can we clear console screen.
@MarinStatsLectures
while writing a code where should we write, in a console or in a rscript ?? i'm confuse before i'm starting , thanks.
Thank you very much !
I love the phase you are teaching. Very concise and to the point. thanks very much
i really enjoyed that – Thanks for sharing. It's of great help.
Great video and teaching skills Mike!
Also ask Ladan "salam chetori? khoobi?"
If you're into classical music, check out my channel and make yourself at home.
Just subscribed.
Greetings from Hamburg, Germany.
Great tutorial!
very nice tut! good job!