Skip to content

Instantly share code, notes, and snippets.

@mmuratarat
Created September 14, 2017 20:53
Show Gist options
  • Save mmuratarat/5b8a1bbc4ba36261a5561c71052ca4ab to your computer and use it in GitHub Desktop.
Save mmuratarat/5b8a1bbc4ba36261a5561c71052ca4ab to your computer and use it in GitHub Desktop.
URL_subs <-"https://goo.gl/zEVbcU"
data <- read.table(URL_subs, header=FALSE, sep=",")
model <- lm(data$V2~ ., data = data)
model
#Call:
# lm(formula = data$V2 ~ ., data = data)
#
#Coefficients:
# (Intercept) V1
# -3.896 1.193
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment