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: Scatter Plot
Which function in base R is commonly used to create a scatter plot?
How do you add a title to a scatter plot in base R?
To change the x-axis label in a scatter plot, which argument would you use?
How can you change the color of the points in a scatter plot?
Which argument changes the symbol (shape) of the points in a scatter plot?
Which code below will create a scatter plot with red points and a title “My Scatter Plot”?
If you want to add a grid to your scatter plot, which function would you use after plot()?
To add a regression line to a scatter plot, which function would you use?
Which argument changes the size of the points in a scatter plot?
How can you add labels for individual points on a scatter plot?
How can you limit the x-axis range to show only values between 0 and 100 in a scatter plot?
What function would you use to save a scatter plot as a PNG file?
How would you set the background color of the plotting area to light gray?
If you want to overlay a density plot on top of a scatter plot, which function should you use after creating the scatter plot?
How do you change the aspect ratio of a scatter plot in base R to ensure that one unit on the x-axis is the same length as one unit on the y-axis?
Which function allows you to add points to an existing plot without creating a new plot?
To add a legend to a scatter plot with different colors for two groups of points, which function should you use?
Which argument in the plot() function allows you to specify the type of plot (e.g., lines, points, both)?
What command can be used to add a smooth curve to a scatter plot by fitting a loess (local regression) line?
If you want to create a scatter plot in which the point size represents a third variable (e.g., z), which argument would you use?
To remove the axes entirely from a scatter plot, which argument would you use?
When you want to customize tick marks on the x-axis (e.g., add ticks at specific values), which function should you use after plot()?
How can you label specific points (e.g., outliers) with their coordinates on a scatter plot?
Which function would you use to add custom axis labels on an existing scatter plot?
How do you adjust the margin space around a plot in base R?
If you want to add a border around the entire plot area, which function should you use?
How can you plot a scatter plot with a logarithmic scale on both axes?
Which argument in the plot() function can be used to specify custom limits for both x and y axes simultaneously?
To add multiple scatter plots on the same graphic device (in a grid layout), which function should you use before plot()?