Introduction to R, Part I: Interface and Data Structures
Вставка
- Опубліковано 12 тра 2024
- 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...
UA-cam 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 UA-cam 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.
Thank you MIT
You are welcome 🤗
THis is great!
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.
❤❤❤❤ 0:15 ❤❤❤R has many advantages 0:26 0:26 🎉🎉🎉🎉🎉🎉🎉🎉
Thank you man
who is Khalid35
He invented R in 1876 after performing the first moon landing
India(bihar) ❤❤❤
Letsssss gooooo
Where?
@@batman_2004to your mom's bedroom
@@nikunjprajapati4761 You're not fit for this channel.
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.
Yes you have just described the entire purpose of R. Who in their right mind would do any of these things in C?
@@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)
An awesome person.
voce bellissima
Ngl it is pretty calm and relaxing.
Khalid35
What is mean Khalid 35?!!
Julia is better ^^
How?
@@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.
Khalid35 ❤
What is mean Khalid 35?!!
@@omargaber3122 😊
Be wise. Learn Python.
👏🏿👏🏿👏🏿👏🏿👏🏿👏🏿👏🏿👏🏿👏🏿👏🏿👏🏿👏🏿👏🏿👏🏿👏🏿👏🏿👏🏿👏🏿👏🏿👏🏿👏🏿👏🏿👏🏿👏🏿👏🏿👏🏿👏🏿👏🏿💯
why?
R be like: "Mujhe kyu thoda, mujhe kyu thoda"😂😂
@@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.
Will R make my groceries affordable? -- or stop the genocide in Gaza and Ukraine?
The program screen is so small and background, that all the explanation is useless.
The most useless video on OCW so far👎
I have a 15-inch laptop and looks fines
Khalid35