Examveda

In R, what does the plot() function do when applied to a linear regression model?

A. Plots the residuals against the fitted values

B. Creates a scatter plot of the model predictions

C. Plots the model coefficients

D. Generates a summary plot for the model

Answer: Option A


Join The Discussion

Related Questions on Statistical Analysis with R (Distributions, Graphics)

What does the qqnorm() function in R do?

A. Plots a quantile-quantile plot for normality assessment

B. Generates a random sample from a normal distribution

C. Creates a normal probability plot

D. Quantifies the normal distribution of a variable