crear un data.frame con dos columnas una sexo y alturas a partir de estos dos conjuntos: hombres<- c(165, 166, 166, 170, 170, 170, 170, 170, 171, 172, 172, 172, 173, 173, 173, 174, 174, 174, rep(175,7), 176, rep(178,8), 179, rep(180,8), rep(181,3), rep(183,3), 184, rep(185,6), 186, 186, 187, 187, 188, 190, 192, 192, 193) mujeres<-c(162, 165, 173, 170, 165, 165, 170, 178, 173, 170, 168, 165, 165, 157, 168, 157, 169, 174, 167, 168, 160, 175, 174, 170, 160, 160, 168, 176, 173, 162, 175, 165, 160, 164, 163, 173, 163, 162, 168, 163, 160, 170, 155, 172, 160, 162, 167, 174, 165, 163, 172, 158, 174, 155, 174, 160, 160,167, 164, 166, 170, 150, 165, 179, 168) sexo contendrá 'm' para mujeres o 'h' para hombres , y altura, el valor numérico de cada conjunto
hombres<- c(165, 166, 166, 170, 170, 170, 170, 170, 171, 172, 172, 172, 173, 173, 173, 174, 174, 174, rep(175,7), 176, rep(178,8), 179, rep(180,8), rep(181,3), rep(183,3), 184, rep(185,6), 186, 186, 187, 187, 188, 190, 192, 192, 193) mujeres<-c(162, 165, 173, 170, 165, 165, 170, 178, 173, 170, 168, 165, 165, 157, 168, 157, 169, 174, 167, 168, 160, 175, 174, 170, 160, 160, 168, 176, 173, 162, 175, 165, 160, 164, 163, 173, 163, 162, 168, 163, 160, 170, 155, 172, 160, 162, 167, 174, 165, 163, 172, 158, 174, 155, 174, 160, 160,167, 164, 166, 170, 150, 165, 179, 168) sexo <-