Learn R Programming

SemiPar (version 1.0-4.2)

bpd: Bronchopulmonary dysplasia data

Description

The bpd data frame has data on 223 human babies.

Usage

data(bpd)

Arguments

Format

This data frame contains the following columns:

birthweight

birthweight of baby (grammes).

BPD

an indicator of presence of bronchopulmonary dysplasia (BPD): 0=absent, 1=present.

References

Ruppert, D., Wand, M.P. and Carroll, R.J. (2003) Semiparametric Regression Cambridge University Press. http://stat.tamu.edu/~carroll/semiregbook/

Examples

Run this code
# NOT RUN {
library(SemiPar)
data(bpd)
attach(bpd)
plot(birthweight,BPD)
boxplot(split(birthweight,BPD),col="green")
# }

Run the code above in your browser using DataLab