Skip to content
R for the Rest of Us Logo

R in 3 Months (Spring 2026)

Quiz

Test your knowledge with the questions below. Answers are not scored and do not affect your certification at the end of the program, so feel free to try as many times as you need. If you have any questions, don't hesitate to use the comments field or to contact Gracielle by email.

Your Turn

Quiz

1.

Given the dataset below and the plot produced with it, find the error in the plotting code:

var1  var2 category
     <dbl> <dbl> <chr>   
 1 -0.912   59.7 A       
 2 -1.08    54.1 A       
 3  0.617   38.6 C       
 4  0.243   63.1 C       
 5  0.405   50.2 B       
 6 -0.110   39.0 A       
 7 -0.217   45.5 C       
 8 -1.59    47.8 A       
 9  0.0757  33.6 B       
10 -0.164   46.5 C

The typo is in the x argument of the aes() function.

Although this is partially correct, there is also a missing parenthesis on the first layer.

Although this is partially correct, there is also a typo in the x argument in the aes() function.

Have any questions? Put them below and we will help you out!

You need to be signed-in to comment on this post. Login.

Course Content

144 Lessons