dlab-berkeley / R-Fundamentals

D-Lab's 4 part, 8 hour introduction to R Fundamentals. Learn how to create variables and functions, manipulate data frames, make visualizations, use control flow structures, and more, using R in RStudio.
31 stars 9 forks source link

confusing naming variable in Lesson 2 #27

Closed ldliao closed 9 months ago

ldliao commented 10 months ago

line 305: naming a variable called "variables" is confusing and should be changed variables <- c("pop" , "year", "lifeExp") gap[variables]