Introduction to R, Part I: Interface and Data Structures
MIT RES.1-002 Introduction to R and Geographical Information Systems (GIS), Fall 2023
Instructor: Helena Vallicrosa
View the complete course: ocw.mit.edu/courses/introduct...
KZread Playlist: • MIT RES.1-002 Introduc...
Get in touch with R from scratch using R base. You will learn the basics of R interface, how to interact with the code, data types (numeric, integer, character…) and data structures (matrix, data frame, lists…), finishing with exercises.
0:00 Why R?
1:25 The R Interface
3:01 Assigning Variables
7:08 Logical Questions
8:12 Data Types
10:22 Vectors
19:51 Summary Functions
21:17 Matrices
27:05 Data Frames
30:06 Lists and Exercises
License: Creative Commons BY-NC-SA
More information at ocw.mit.edu/terms
More courses at ocw.mit.edu
Support OCW at ow.ly/a1If50zVRlQ
We encourage constructive comments and discussion on OCW’s KZread and other social media channels. Personal attacks, hate speech, trolling, and inappropriate comments are not allowed and may be removed. More details at ocw.mit.edu/comments.
Пікірлер: 40
Thank you MIT
@omargaber3122
24 күн бұрын
You are welcome 🤗
THis is great!
❤❤❤❤ 0:15 ❤❤❤R has many advantages 0:26 0:26 🎉🎉🎉🎉🎉🎉🎉🎉
Very nice video! I was wondering why the function is.integer gives back FALSE even for variables that are integer, I understand that the class of a integer variable is 'numeric' and not specifically 'integer' but I was wondering why is.integer is not as linear as I thought.
@djangoworldwide7925
8 күн бұрын
You might want to add L (6L) to the number so it's explicitly an integer
Thank you man
India(bihar) ❤❤❤
who is Khalid35
@mentfib1906
26 күн бұрын
He invented R in 1876 after performing the first moon landing
An awesome person.
Letsssss gooooo
@batman_2004
26 күн бұрын
Where?
@nikunjprajapati4761
26 күн бұрын
@@batman_2004to your mom's bedroom
@enisten
26 күн бұрын
@@nikunjprajapati4761 You're not fit for this channel.
@omargaber3122
24 күн бұрын
No
Ah yes, the R language. Good enough to do some simulations (as long as they're not too expensive), run some models, wrangle some data, create some graphs, but with all the problems of scripting languages: slow because garbage collected, runtime type checks, the interpreter keeps executing code even after running into an error in your script, weird javascript-style type coercion and really clunky dependency management. Whatever you want to build, will not attain a certain level of quality you would get from a statically typed, compiled language like C, Fortran or Rust.
@notme426
19 күн бұрын
Yes you have just described the entire purpose of R. Who in their right mind would do any of these things in C?
@lightspd714
19 күн бұрын
@@notme426 I’ve done it for fun. I would not do so for a serious work project though where time is of the essence. In that case Python, R, or Julia (which is very fast due to JIT compilation)
voce bellissima
@vorsybl
26 күн бұрын
Ngl it is pretty calm and relaxing.
Khalid35
@omargaber3122
24 күн бұрын
What is mean Khalid 35?!!
Khalid35 ❤
@omargaber3122
24 күн бұрын
What is mean Khalid 35?!!
@user-cu3of4he2m
23 күн бұрын
@@omargaber3122 😊
Be wise. Learn Python.
@B_knows_A_R_D-xh5lo
22 күн бұрын
👏🏿👏🏿👏🏿👏🏿👏🏿👏🏿👏🏿👏🏿👏🏿👏🏿👏🏿👏🏿👏🏿👏🏿👏🏿👏🏿👏🏿👏🏿👏🏿👏🏿👏🏿👏🏿👏🏿👏🏿👏🏿👏🏿👏🏿👏🏿💯
@bantyrFish
19 күн бұрын
why?
@aakashramdam7543
19 күн бұрын
R be like: "Mujhe kyu thoda, mujhe kyu thoda"😂😂
@lightspd714
19 күн бұрын
@@bantyrFishPython is the top data science language and is also a general purpose programming language used for numerous tasks. The reality is learn both if you can.
@djangoworldwide7925
8 күн бұрын
Unfortunately, as an R programmer, I agree. Not because R is not good, but because everyone is using python.
Julia is better ^^
@ellieborden6649
26 күн бұрын
How?
@ArthurSchoppenweghauer
25 күн бұрын
@@ellieborden6649 JIT compiled instead of interpreted, this is supposed to improve runtime performance after the first run, although there's a compilation cost. Performance benchmarks seem to indicate it can be as fast as C, but I would take all of this with a grain of salt.
The program screen is so small and background, that all the explanation is useless. The most useless video on OCW so far👎
@YuratAbraham
25 күн бұрын
I have a 15-inch laptop and looks fines
Will R make my groceries affordable? -- or stop the genocide in Gaza and Ukraine?
Khalid35