Description Usage Format Source Examples
The E1.20
data frame has 13 rows and 7 columns.
1 |
This data frame contains the following columns:
a character vector, name of state.
a numeric vector, Physical Quality of Life Index, a measure of average wealth.
a numeric vector, combined infant mortality rate.
a numeric vector, rural male infant mortality rate.
a numeric vector, rural female infant mortality rate.
a numeric vector, urban male infant mortality rate.
a numeric vector, urban female infant mortality rate.
Dr. T.N.K.Raju, Department of Neonatology, University of Illinois at Chicago.
1 2 3 4 5 6 7 8 9 10 11 12 | data(E1.20)
## Some data reorganization before analysis:
## Maybe reshape could have been used here?
e1.20 <- data.frame(rbind(as.matrix(E1.20[,c(2,4)]),
as.matrix(E1.20[,c(2,5)]),
as.matrix(E1.20[,c(2,6)]),
as.matrix(E1.20[,c(2,7)])),row.names=1:52)
attr(e1.20,"names")[[2]] <- "IMR"
e1.20$Female <- c(rep(0,13), rep(1,13),rep(0,13),rep(1,13))
e1.20$Urban <- c(rep(0,26),rep(1,26))
## Now the analysis can start.
summary(e1.20)
|
PQLI IMR Female Urban
Min. :17.00 Min. : 22.00 Min. :0.0 Min. :0.0
1st Qu.:29.00 1st Qu.: 61.50 1st Qu.:0.0 1st Qu.:0.0
Median :36.00 Median : 87.50 Median :0.5 Median :0.5
Mean :43.54 Mean : 92.81 Mean :0.5 Mean :0.5
3rd Qu.:55.00 3rd Qu.:121.25 3rd Qu.:1.0 3rd Qu.:1.0
Max. :92.00 Max. :187.00 Max. :1.0 Max. :1.0
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.