Learn R Programming

mcmc (version 0.7-2)

logit: Simulated logistic regression data.

Description

Like it says

Usage

data(logit)

Arguments

Examples

Run this code
library(mcmc)
data(logit)
out <- glm(y ~ x1 + x2 + x3 + x4, family = binomial, data = logit)
summary(out)

Run the code above in your browser using DataLab