inst/samples/cleanVars1.R

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

hist(x)

fit = lm(y ~ x)
plot(fit)
summary(fit)
coef(fit)

Try the CodeDepends package in your browser

Any scripts or data that you put into this service are public.

CodeDepends documentation built on May 2, 2019, 4:19 a.m.