CoCalc Public Filesir-display.ipynbOpen with one click!
Authors: harald @schil.ly, Harald Schilly, ℏal Snyder, William A. Stein
Views : 661

R plots on CoCalc

This is a publicly shared notebook!

In [1]:
attach(mtcars)
In [2]:
plot(wt, mpg, main="Scatterplot Example", xlab="Car Weight ", ylab="Miles Per Gallon ", pch=19) abline(lm(mpg~wt), col="red") # regression line (y~x) lines(lowess(wt,mpg), col="blue") # lowess line (x,y)
In [ ]:
In [ ]:
In [ ]: