Multiple Choices: Based Plot: Histogram

  1. Which function in base R is primarily used to create histogram plots?
  1. In a histogram plot in R, which argument adjusts the number of bins or intervals?
  1. To color the bars of the histogram in R, which argument can you use within hist()?
  1. What does setting freq = FALSE do when using the hist() function?
  1. Which of the following options will add a title to the histogram plot?
  1. What does the xlim argument in hist(data, xlim = c(10, 100)) control?
  1. To label the x-axis and y-axis of the histogram, which arguments should you use?
  1. If hist(data, right = FALSE) is used, what does the right = FALSE argument control?
  1. Which option best describes the purpose of setting prob = TRUE in hist()?
  1. What will the command hist(data, labels = TRUE) do in R?
  1. What does the argument border control in the hist() function?
  1. Which of the following code snippets would set a histogram to display density values and color the bars blue?
  1. If you want to use the Freedman-Diaconis rule for the number of bins, which argument should you set in hist()?
  1. Which command will add a red vertical line at the mean of the data in a histogram?
  1. What does the argument xaxs = "i" do in a histogram?
  1. If you want to change the label size of the x-axis and y-axis in a histogram, which argument would you use?
  1. Which argument would you use to rotate the labels on the x-axis?
  1. In the hist() function, which argument can be used to add a subtitle to the histogram?
  1. Which command would add a normal distribution curve to a histogram of data?
  1. In hist(data, plot = FALSE), what does plot = FALSE do?