Guest User

Untitled

a guest
Mar 7th, 2020
68
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. rel_gpi <- read.csv("./religiosity_and_peace.csv")
  2. names(rel_gpi)
  3. rel_gpi
  4. str(rel_gpi)
  5. linmodel <- lm(rel_gpi$GPI ~ rel_gpi$Religiosity)
  6. summary(linmodel)
  7. plot(GPI ~ Religiosity, data = rel_gpi)
  8. abline(linmodel)
RAW Paste Data