Creating and using a matrix using base R (CC172)

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

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 9 ай бұрын
Good day, my R keeps saying "x" is not found, what could be the issue?
@Riffomonas
@Riffomonas 9 ай бұрын
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
Creating a vector in base R with the c, :, seq, and rep functions (CC170)
13:22
-5+3은 뭔가요? 📚 #shorts
0:19
5 분 Tricks
Рет қаралды 13 МЛН
Counter-Strike 2 - Новый кс. Cтарый я
13:10
Marmok
Рет қаралды 2,8 МЛН
Introduction to R: Matrices
17:07
DataDaft
Рет қаралды 11 М.
Rarefying ecological distances with R: Should you?  (CC189)
22:01
Riffomonas Project
Рет қаралды 6 М.
Make your Analysis 4x faster | Multi core processing with R
17:23
LiquidBrain Bioinformatics
Рет қаралды 8 М.
NMDS in R
44:05
Ecological Applications in R
Рет қаралды 27 М.
AI Is Making You An Illiterate Programmer
27:22
ThePrimeTime
Рет қаралды 290 М.
Ranking Paradoxes, From Least to Most Paradoxical
25:05
Chalk Talk
Рет қаралды 86 М.