packrat/lib/x86_64-apple-darwin15.6.0/3.6.0/CodeDepends/samples/cleanVars.R

x = 1:10
y = 10 + 3*x + rnorm(length(x))
z = 3

d = data(x = x, y = y)

hist(x)

fit = lm(y ~ x, d)
plot(fit)
summary(fit)
coef(fit)
adnaniazi/krauseNiazi2019Analyses documentation built on June 9, 2019, 7:22 p.m.