Vidyalelo
R Programming · Q2

Data Visualization with ggplot2

Programming · R Programming · question 2

Q2

How do you change the color of all points in a ggplot2 scatter plot to red?

A.
color = "red"
Answer
B.
fill = "red"
C.
col = "red"
D.
aes(color = "red")

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board