Creating and using a matrix using base R (CC172)

  Рет қаралды 2,829

Riffomonas Project

Riffomonas Project

Күн бұрын

Пікірлер: 9
3 жыл бұрын
Loving this series of basic R. Thanks!
@Riffomonas
@Riffomonas 3 жыл бұрын
My pleasure! Glad you’re enjoying the videos ☺️
@tlange5091
@tlange5091 2 жыл бұрын
This is absolute gold! Thank you so much for these videos!
@Riffomonas
@Riffomonas 2 жыл бұрын
My pleasure!
@HafeezUrRehman-s2h
@HafeezUrRehman-s2h Жыл бұрын
very informative
@djangoworldwide7925
@djangoworldwide7925 2 жыл бұрын
Pat I love your videos but in this one why you didn't use a loop from the get go? I saw all the way to the end but I think it doesn't make much sense to even show that kind of writing instead of mapping over the function or looping
@Riffomonas
@Riffomonas 2 жыл бұрын
Thanks for watching. My goal is to teach people how to program. Here my primary intention was to teach people how to access values in a matrix - not how to write a loop (re-read the title). Along the way, I wanted to help motivate the need for loops. By doing this all brute force it I was able to point out the problem with all the repetition, foreshadow the use of index variables (15:07), etc. I believe the next episode in the series then takes this code and converts it to a loop. There's even an episode that removes for loops entirely. I don't think it's fair to expect someone that has never seen a for loop before to understand the motivation for loops, the concepts, and how to implement them in under 20 minutes. I think I'm serving my audience well with this approach.
@mpadinkale2880
@mpadinkale2880 8 ай бұрын
Good day, my R keeps saying "x" is not found, what could be the issue?
@Riffomonas
@Riffomonas 8 ай бұрын
Hi - I'm not sure where you're getting this error in this episode. Usually that's because you haven't defined x earlier in the script
Using base R to access and remove values from a vector (CC171)
14:03
Riffomonas Project
Рет қаралды 1,6 М.
Rarefying ecological distances with R: Should you?  (CC189)
22:01
Riffomonas Project
Рет қаралды 6 М.
Lazy days…
00:24
Anwar Jibawi
Рет қаралды 9 МЛН
It’s all not real
00:15
V.A. show / Магика
Рет қаралды 13 МЛН
The Best Band 😅 #toshleh #viralshort
00:11
Toshleh
Рет қаралды 19 МЛН
Matrices in R
9:39
Equitable Equations
Рет қаралды 3,2 М.
How I animate 3Blue1Brown | A Manim demo with Ben Sparks
53:41
3Blue1Brown
Рет қаралды 1,1 МЛН
Lada Aura - полный разбор на компоненты.
43:47
Клубный сервис
Рет қаралды 151 М.
Make your Analysis 4x faster | Multi core processing with R
17:23
LiquidBrain Bioinformatics
Рет қаралды 8 М.
Creating a vector in base R with the c, :, seq, and rep functions (CC170)
13:22
Lazy days…
00:24
Anwar Jibawi
Рет қаралды 9 МЛН