The Final Exam 2/2 will be held on March 14, 2025, from 8:00 to 11:00 AM at the ICDI building. Total Score: 15% of 100% - 5%: Multiple-choice questions. - 10%: Answering questions, editing, or showing the code based on the given results. You are allowed to use your computer/iPad/Tablet to run the R program. However, you are not allowed to use the internet to search for solutions via search engines (e.g., Google) or generative AI (e.g., ChatGPT). You are not allowed to discuss anything in the testing room. You are allowed to bring and write notes on one A4 page (both sides).
Multiple Choices: Based Plot: Histogram
Which function in base R is primarily used to create histogram plots?
In a histogram plot in R, which argument adjusts the number of bins or intervals?
To color the bars of the histogram in R, which argument can you use within hist()?
What does setting freq = FALSE do when using the hist() function?
Which of the following options will add a title to the histogram plot?
What does the xlim argument in hist(data, xlim = c(10, 100)) control?
To label the x-axis and y-axis of the histogram, which arguments should you use?
If hist(data, right = FALSE) is used, what does the right = FALSE argument control?
Which option best describes the purpose of setting prob = TRUE in hist()?
What will the command hist(data, labels = TRUE) do in R?
What does the argument border control in the hist() function?
Which of the following code snippets would set a histogram to display density values and color the bars blue?
If you want to use the Freedman-Diaconis rule for the number of bins, which argument should you set in hist()?
Which command will add a red vertical line at the mean of the data in a histogram?
What does the argument xaxs = "i" do in a histogram?
If you want to change the label size of the x-axis and y-axis in a histogram, which argument would you use?
Which argument would you use to rotate the labels on the x-axis?
In the hist() function, which argument can be used to add a subtitle to the histogram?
Which command would add a normal distribution curve to a histogram of data?
In hist(data, plot = FALSE), what does plot = FALSE do?