religioncrime | R Documentation |
The data national-level summary indicators of public opinion about the existence of heaven and hell as well as the national rate of violent crime.
data(religioncrime)
data.frame: 51 obs. of 3 variables
Paul E. Johnson pauljohn@ku.edu and Anonymous
Anonymous researcher who claims the data is real.
require(rockchalk) data(religioncrime) mod1 <- lm(crime ~ heaven, data=religioncrime) mod2 <- lm(crime ~ hell, data=religioncrime) mod3 <- lm(crime ~ heaven + hell, data=religioncrime) with(religioncrime, mcGraph1(heaven, hell, crime) ) with(religioncrime, mcGraph2(heaven, hell, crime) ) mod1 <- with(religioncrime, mcGraph3(heaven, hell, crime) ) summary(mod1[[1]]) ##TODO: Draw more with perspective matrix mod1[[2]]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.