These are for myself but also public.
R project for statistical computing, in case you didn't know.
Adding a straight regression line to a plot
model = lm(y ~ x)
plot(y ~ x)
abline(model)
Adding a wiggly line to a plot
plot(foo ~ bar)
lines(lowess(bar, foo))
No comments:
Post a Comment