inst/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)

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.