Here is a quick lesson about how ggplot2 works from my full course on data visualization for ecologists: coaching.rforecology.com/intr... ggplot2 cheatsheet: github.com/rstudio/cheatsheet...
Hey there, that's a great question! It would definitely be possible, it just depends on what type of figure you are trying to create from your regression. If you were modeling a simple linear regression between two variables, you could plot the response variable against the explanatory variable and add a line of best fit. I have written a blog about that here: www.rforecology.com/post/how-to-do-simple-linear-regression-in-r/ Otherwise, if you have multiple explanatory variables, it's common practice to predict new values based on changing a single explanatory variable while keeping all others constant. Then you can plot your newly predicted response against the variable you are adjusting to see how its change affects the predicted value when all others are constant. Hope this helps!
Hi Harry, the course will not be free, but there will be scholarships available to ensure that everyone can afford it. This is an important part of our mission--making sure everyone has an opportunity.
Hi Akila, you can run the following code and that should update your ggplot2 package! install.packages("ggplot2") Then library(ggplot2) should work for you.