Advertisement
Guest User

Untitled

a guest
Mar 7th, 2020
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  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)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement