filmov
tv
Getting started with R: Basic Arithmetic and Coding in R | R Tutorial 1.3 | MarinStatsLectures
Показать описание
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:
◼︎ 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
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!
Комментарии