powered by
The bpd data frame has data on 223 human babies.
bpd
data(bpd)
This data frame contains the following columns:
birthweight of baby (grammes).
an indicator of presence of bronchopulmonary dysplasia (BPD): 0=absent, 1=present.
Ruppert, D., Wand, M.P. and Carroll, R.J. (2003) Semiparametric Regression Cambridge University Press. http://stat.tamu.edu/~carroll/semiregbook/
# 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