Introduction to R: Control Flow

  Рет қаралды 4,474

DataDaft

DataDaft

Күн бұрын

Пікірлер: 4
@musicspinner
@musicspinner 3 жыл бұрын
You've done an excellent job with this R series. 👌
@KuroSan97
@KuroSan97 5 жыл бұрын
Very nice video, when I was trying to work through the notebook. I wanted to try printing the name of passengers in Exercise 2 of Control Flow. I can't seem to do it from inside the loop. Any help would be appreciated.
@DataDaft
@DataDaft 5 жыл бұрын
If you wanted to print passenger names of all passengers one after the other you could do this: for (passenger in titanic_train$Name){ print(passenger) } If you only wanted to print passengers names over age 64, you could do it with something like this: for (passenger in titanic_train$Name){ if (titanic_train$Age[which(titanic_train$Name == passenger)] >= 65){ print(passenger) } }
@japhethjay4880
@japhethjay4880 Жыл бұрын
He actually wrote else if and says if else , I don’t think this guy is a programmer, but amazing tutorials love them, they’ve been quite helpful, keep up , you earned a like and a sub and references to your channel
Introduction to R: Functions
13:17
DataDaft
Рет қаралды 4,5 М.
Writing Your Own Functions in R: Introduction
12:45
weecology
Рет қаралды 48 М.
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 16 МЛН
Quando eu quero Sushi (sem desperdiçar) 🍣
00:26
Los Wagners
Рет қаралды 13 МЛН
Cat mode and a glass of water #family #humor #fun
00:22
Kotiki_Z
Рет қаралды 10 МЛН
Loops using R programming
13:37
R Programming 101
Рет қаралды 16 М.
Introduction to R: Lists
11:45
DataDaft
Рет қаралды 12 М.
Indexing and looping over lists in R, a tutorial (CC174)
19:59
Riffomonas Project
Рет қаралды 5 М.
If-else statements in R
12:29
Equitable Equations
Рет қаралды 4,8 М.
R Programming Tutorial - Learn the Basics of Statistical Computing
2:10:39
freeCodeCamp.org
Рет қаралды 4,4 МЛН
Introduction to R: Vectors
20:22
DataDaft
Рет қаралды 13 М.
Introduction to R: Reading and Writing Data
15:50
DataDaft
Рет қаралды 4,8 М.
Manipulate your data.   Data wrangling.   R programmning for beginners.
29:59
R Programming 101
Рет қаралды 81 М.
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 16 МЛН