hospital {survey} | R Documentation |
The hospital
data frame has 15 rows and 5 columns.
data(hospital)
This data frame contains the following columns:
http://www.ats.ucla.edu/stat/books/sop/hospsamp.dta
Levy and Lemeshow. "Sampling of Populations" (3rd edition). Wiley.
data(hospital) hospdes<-svydesign(strata=~oblevel, id=~hospno, weights=~weighta, fpc=~tothosp, data=hospital) hosprep<-as.svrepdesign(hospdes) svytotal(~births, design=hospdes) svytotal(~births, design=hosprep)