saving . . . saved Difference between ggplot and scatter plot has been deleted. Difference between ggplot and scatter plot has been hidden .
Difference between ggplot and scatter plot
Title
Question
I have two doubts..Would be grateful if you could clear that..
1) what is the difference between ggplot and a simple scatter plot which we plot through plot command ? Whats the  additional advantage we have over using ggplot instead of a scatter plot ?

2) When we want to plot two graphs together..it has to be one plotted through plot and other through line ? 
Thanks

R Introduction-to-ggplot2 10-11 min 10-20 sec 28-05-20, 4:21 p.m. ahujadrrashmi@gmail.com

Answers:

For your first query, i.e when and why to use ggplot, you should read the explanation given here: http://varianceexplained.org/r/why-I-use-ggplot2/

There are a couple of ways to draw two plots together, as given here: https://stackoverflow.com/questions/2564258/plot-two-graphs-in-same-plot-in-r


28-05-20, 10:39 p.m. sudhakarst


Log-in to answer to this question.