R Programming Quiz
8 questions · no time limit
0:00
DATA STRUCTURES IN R
Question 1 of 8
No time limit
Current
Answered
Flagged
Not seen
Consider this data frame operation:
df <- data.frame(
score = c(70, NA, 85, 90, 85),
team = c("A", "A", "B", "A", "B")
)
rows <- which((df$score >= 85 & df$team == "B") | df$score == 90)
What is stored in rows? YOUR PROGRESS
8
QUESTIONS
Ready when you are
Answer in any order. Your progress shows here as you go.
QUESTIONS
KEYBOARD
Pick an answer ABCD
Next question ↵→
Previous ←
Flag for review F
Answers save as you go · flagged questions come back at the end