Learn R Programming

UsingR (version 2.0-7)

healthy: Healthy or not?

Description

Data on whether a patient is healthy with two covariates.

Usage

data(healthy)

Arguments

Format

A data frame with 32 observations on the following 3 variables.

p

One covariate

g

Another covariate

healthy

0 is healthy, 1 is not

Details

Data on health with information from two unspecified covariates.

Examples

Run this code
# NOT RUN {
data(healthy)
library(MASS)
stepAIC(glm(healthy ~ p + g, healthy, family=binomial))
# }

Run the code above in your browser using DataLab