Multiple Choices: Based Plot: Histogram

  1. Which function in base R is primarily used to create histogram plots? ::: {.cell}
  1. In a histogram plot in R, which argument adjusts the number of bins or intervals? ::: {.cell}

:::

  1. To color the bars of the histogram in R, which argument can you use within hist()? ::: {.cell}

:::

  1. What does setting freq = FALSE do when using the hist() function? ::: {.cell}

:::

  1. Which of the following options will add a title to the histogram plot? ::: {.cell}

:::

  1. What does the xlim argument in hist(data, xlim = c(10, 100)) control? ::: {.cell}

:::

  1. To label the x-axis and y-axis of the histogram, which arguments should you use? ::: {.cell}

:::

  1. If hist(data, right = FALSE) is used, what does the right = FALSE argument control? ::: {.cell}

:::

  1. Which option best describes the purpose of setting prob = TRUE in hist()? ::: {.cell}

:::

  1. What will the command hist(data, labels = TRUE) do in R? ::: {.cell}

:::

  1. What does the argument border control in the hist() function? ::: {.cell}

:::

  1. Which of the following code snippets would set a histogram to display density values and color the bars blue? ::: {.cell}

:::

  1. If you want to use the Freedman-Diaconis rule for the number of bins, which argument should you set in hist()? ::: {.cell}

:::

  1. Which command will add a red vertical line at the mean of the data in a histogram? ::: {.cell}

:::

  1. What does the argument xaxs = "i" do in a histogram? ::: {.cell}

:::

  1. If you want to change the label size of the x-axis and y-axis in a histogram, which argument would you use? ::: {.cell}

:::

  1. Which argument would you use to rotate the labels on the x-axis? ::: {.cell}

:::

  1. In the hist() function, which argument can be used to add a subtitle to the histogram? ::: {.cell}

:::

  1. Which command would add a normal distribution curve to a histogram of data? ::: {.cell}

:::

  1. In hist(data, plot = FALSE), what does plot = FALSE do? ::: {.cell}

:::

:::