Skip to main content
United States
Jump To
Support
Register or Log In
Support
Register or Log In
Instructors
Browse Products
Getting Started
Students
Browse Products
Getting Started
Return to Research Methods Using R 1e Student Resources
Chapter 18 Multiple choice questions
Quiz Content
*
not completed
.
Execute the following lines of code:
plot(1:10,rnorm(10),type='p',pch=15,cex=0.5
)
points(1:10,rnorm(10),pch=16,cex=0.5
)
What is the biggest problem with the graph that is produced?
The tick marks face outwards instead of inwards
correct
incorrect
The data would be difficult to interpret for individuals who are colourblind
correct
incorrect
The scaling of the y-axis is uninformative
correct
incorrect
The symbols are too similar and hard to distinguish
correct
incorrect
*
not completed
.
How might the graph produced by the following lines of code be usefully improved?
plot(rnorm(100),rnorm(100),type='p',pch=15,cex=0.5,xlim=c(-20,20),ylim=c(-20,20)
)
Plot the data with larger symbols
correct
incorrect
Reduce the range of the x and y axes so they are more appropriate for the data
correct
incorrect
Use transparency so that overlapping points are distinguishable
correct
incorrect
Use logarithmic axes
correct
incorrect
*
not completed
.
Download the data file for the multiple-choice questions for Chapter 18.
Inspect the data in q3data. How would this best be plotted?
On a linear axis because it is normally distributed
correct
incorrect
On a logarithmic axis because it is positively skewed
correct
incorrect
On a logarithmic axis because it is negatively skewed
correct
incorrect
On a logarithmic axis because it contains negative numbers
correct
incorrect
*
not completed
.
Which function would you be most likely to use in creating a raincloud plot from scratch?
density()
correct
incorrect
hist()
correct
incorrect
cloud()
correct
incorrect
boxplot()
correct
incorrect
*
not completed
.
What is the hexadecimal code for blue with 50% transparency?
#0000FFFF
correct
incorrect
#000080FF
correct
incorrect
#0000FF80
correct
incorrect
#00008080
correct
incorrect
*
not completed
.
Which of the following palettes would you use to plot a heatmap of data that are scaled between 0 and 100, such that larger values indicate a greater magnitude? (Hint, you might find the
pal.test()
function from the
pals
package helpful).
viridis
correct
incorrect
kovesi.cyclic_grey_15_85_c0_s25
correct
incorrect
rainbow
correct
incorrect
kovesi.cyclic_wrwbw_40_90_c42_s25
correct
incorrect
*
not completed
.
Which of the following palettes would you use to plot a heatmap of phase data that have angular values between 0 and 360 degrees, such that 0 and 360 are identical?
kovesi.rainbow_bgyr_35_85_c72
correct
incorrect
brewer.rdylbu
correct
incorrect
kovesi.cyclic_mrybm_35_75_c68_s25
correct
incorrect
parula
correct
incorrect
*
not completed
.
Which of the following palettes would be most appropriate for ensuring accessibility to people who have tritanopia?
kovesi.linear_bgy_10_95_c74
correct
incorrect
cividis
correct
incorrect
ocean.haline
correct
incorrect
linearl
correct
incorrect
*
not completed
.
Which function would you use to create a vector image?
jpeg()
correct
incorrect
ps()
correct
incorrect
png()
correct
incorrect
postscript()
correct
incorrect
*
not completed
.
How might you represent the standard error for a continuous time-varying curve?
Error bars created using the
arrows
function
correct
incorrect
A semi-transparent shaded region
correct
incorrect
A rectangle displaying the average error across all points
correct
incorrect
A solid shaded region the same colour as the curve
correct
incorrect
Exit Quiz
Next Question
Review all Questions
Submit Quiz
Reset
Are you sure?
You have some unanswered questions. Do you really want to submit?
Back to top
Printed from , all rights reserved. © Oxford University Press, 2024
Select your Country