Answers for "R How many males and females kids are on board?"

0

R How many males and females kids are on board?

> test$Survived <- 0
> test$Survived[test$Sex == 'female']
Posted by: Guest on March-15-2021
0

R How many males and females kids are on board?

> test$Survived <- 0
> test$Survived[test$Sex == 'female'] <- 1
Posted by: Guest on March-15-2021

Code answers related to "R How many males and females kids are on board?"

Browse Popular Code Answers by Language