Warning Midterm Exam (Part 2 of 2) on Jan 9, 2025, 3:30–5:30 PM. at RB3208 Total Score: 15% (5% Multiple Choice, 10% Writing R Code). Topics: - Data Structure: Data Frame - Data Wrangling - Data Structure: XTS Project 1: 10% Create your CV using Quarto and upload the HTML and related files to CMU’s personal web hosting. 1. Submit your HTML file to your CMU personal web hosting. 2. Zip your project folder. The zip file should include the .qmd file, any image files, and CSS files (if used). I will render your files to compare them with your URL. Send your URL and the zip file to my email: somsak.c@icdi.cmu.ac.th before midnight on January 5, 2025. Content Requirements: Your CV must include: - Your picture - Your birthday - Your education - Your hobbies - Links to at least 2 social media platforms - Your future plans Criteria: 1. The HTML file and .qmd file must match. 2. Use a theme. 3. Use CSS. 4. Include a table. 5. Include a tabset 6. Include a video. 5. Use icons from Font Awesome (e.g., Facebook, YouTube, LINE, WeChat, etc.). 8. Modify the layout creatively.
Additional Note: Some of your score will be determined by votes from your peers.
Multiple Choices: Based Plot: Histogram
Which function in base R is primarily used to create histogram plots? ::: {.cell}
In a histogram plot in R, which argument adjusts the number of bins or intervals? ::: {.cell}
:::
To color the bars of the histogram in R, which argument can you use within hist()? ::: {.cell}
:::
What does setting freq = FALSE do when using the hist() function? ::: {.cell}
:::
Which of the following options will add a title to the histogram plot? ::: {.cell}
:::
What does the xlim argument in hist(data, xlim = c(10, 100)) control? ::: {.cell}
:::
To label the x-axis and y-axis of the histogram, which arguments should you use? ::: {.cell}
:::
If hist(data, right = FALSE) is used, what does the right = FALSE argument control? ::: {.cell}
:::
Which option best describes the purpose of setting prob = TRUE in hist()? ::: {.cell}
:::
What will the command hist(data, labels = TRUE) do in R? ::: {.cell}
:::
What does the argument border control in the hist() function? ::: {.cell}
:::
Which of the following code snippets would set a histogram to display density values and color the bars blue? ::: {.cell}
:::
If you want to use the Freedman-Diaconis rule for the number of bins, which argument should you set in hist()? ::: {.cell}
:::
Which command will add a red vertical line at the mean of the data in a histogram? ::: {.cell}
:::
What does the argument xaxs = "i" do in a histogram? ::: {.cell}
:::
If you want to change the label size of the x-axis and y-axis in a histogram, which argument would you use? ::: {.cell}
:::
Which argument would you use to rotate the labels on the x-axis? ::: {.cell}
:::
In the hist() function, which argument can be used to add a subtitle to the histogram? ::: {.cell}
:::
Which command would add a normal distribution curve to a histogram of data? ::: {.cell}
:::
In hist(data, plot = FALSE), what does plot = FALSE do? ::: {.cell}