#Importando datos de excel
library (readxl)
ruta <- read_excel ("C:/Users/Guadalupe Medina/Documents/Ciencia de los Datos/Datos/datosdepersonas.xlsx")

#Importando datos de excel
datosdepersonas <- ruta # para leer 

datosdepersonas # para ver columnas y renglones
## # A tibble: 15 x 5
##    NOMBRE     EDAD GENERO SUELDO EDOCIVIL
##    <chr>     <dbl> <chr>   <dbl> <chr>   
##  1 JUAN         40 M       5401. S       
##  2 MARY         26 F       6800. C       
##  3 RUBEN        56 M      34200. V       
##  4 PATY         70 F      68400. D       
##  5 JORGE         3 M      23501. V       
##  6 LUIS         17 M      32900  S       
##  7 OLGA         23 F      23551. C       
##  8 VERONICA     45 F      25800. V       
##  9 MIMI         34 F      20500. D       
## 10 KARINA       28 F      21800. V       
## 11 FRANCISCO    28 M      10501. C       
## 12 SANDRA       44 F      13200  D       
## 13 NATALIA      23 F       2000  S       
## 14 FERNANDA     85 F       6000  V       
## 15 BRAULIO      32 M      70300  S