Error
There was an error loading the page.
Several questions on interrogating the mtcars
dataset built in to R.
Metadata
-
England schools
-
England university
-
Scotland schools
Taxonomy: mathcentre
Taxonomy: Kind of activity
Taxonomy: Context
Contributors
Feedback
From users who are members of Demos :
![]() |
said | Ready to use | 3 years, 1 month ago |
History
Christian Lawson-Perfect 3 years, 1 month ago
Published this.Christian Lawson-Perfect 3 years, 1 month ago
Gave some feedback: Ready to use
Christian Lawson-Perfect 3 years, 1 month ago
Created this as a copy of Query the built-in mtcars dataset.Name | Status | Author | Last Modified | |
---|---|---|---|---|
Query the built-in mtcars dataset | Needs to be tested | George Stagg | 10/05/2023 13:34 | |
Query the built-in mtcars dataset | Ready to use | Christian Lawson-Perfect | 23/11/2023 12:24 |
There are 4 other versions that do you not have access to.
Name | Type | Generated Value |
---|
num_gears | integer |
5
|
||||
disp_val | integer |
400
|
||||
num_cyl | integer |
8
|
||||
part_a_answer | string |
gears = mtcars[mtcars$gear ==
|
||||
part_b_answer | string |
displ = mtcars[mtcars$disp>300
|
||||
part_c_answer | string |
mercs = mtcars[grep('Merc', ro
|
||||
part_d_code | string |
max(mtcars$hp)
|
||||
part_e_code | string |
mean(mtcars[mtcars$cyl == 8,]$
|
||||
part_f_code | string |
as.numeric(quantile(mtcars[mtc
|
Generated value: integer
5
This variable doesn't seem to be used anywhere.
Use this tab to check that this question works as expected.
Part | Test | Passed? |
---|---|---|
Code | ||
Hasn't run yet | ||
Code | ||
Hasn't run yet | ||
Code | ||
Hasn't run yet | ||
Number entry | ||
Hasn't run yet | ||
Number entry | ||
Hasn't run yet | ||
Number entry | ||
Hasn't run yet |
This question is used in the following exams:
- Manajit's copy of Programming extension demo by Manajit Chakraborty in Manajit's workspace.
- Programming extension demo by Christian Lawson-Perfect in Demos.
- claire's copy of Programming extension demo by claire lines in claire's workspace.
- Simon's copy of Programming extension demo by Simon James in Simon's workspace.
- Lars's copy of Programming extension demo by Lars Hansson in Lars's workspace.
- claire's copy of Programming extension demo by claire lines in claire's workspace.
- NUMBAS TRAINING claire's copy of Programming extension demo by claire lines in Brunel University Maths.
- Alexander's copy of Programming extension demo by Alexander Holvoet in Alexander's workspace.
- Mahdieh's copy of Programming extension demo by Mahdieh Zaker in Mahdieh's workspace.