r commander
TRANSCRIPT
![Page 1: R commander](https://reader036.vdocuments.pub/reader036/viewer/2022062310/589d212e1a28abeb478b4a77/html5/thumbnails/1.jpg)
R commander
![Page 2: R commander](https://reader036.vdocuments.pub/reader036/viewer/2022062310/589d212e1a28abeb478b4a77/html5/thumbnails/2.jpg)
En primer lugar, cambiamos el directorio de trabajo.
laura valle contreras
![Page 3: R commander](https://reader036.vdocuments.pub/reader036/viewer/2022062310/589d212e1a28abeb478b4a77/html5/thumbnails/3.jpg)
Escogemos la opción de Datos Macamos importar datos Elegimos el archivo Excell
![Page 4: R commander](https://reader036.vdocuments.pub/reader036/viewer/2022062310/589d212e1a28abeb478b4a77/html5/thumbnails/4.jpg)
A continuación, le ponemos el nombre más adecuado y lo buscamos en nuestras descargas
![Page 5: R commander](https://reader036.vdocuments.pub/reader036/viewer/2022062310/589d212e1a28abeb478b4a77/html5/thumbnails/5.jpg)
Ahora realizamos una parte de la actividad que es agrupar todas las variables Relacionadas con el Riesgo Sexual en una denominada : RIESGO SEXUAL
![Page 6: R commander](https://reader036.vdocuments.pub/reader036/viewer/2022062310/589d212e1a28abeb478b4a77/html5/thumbnails/6.jpg)
![Page 7: R commander](https://reader036.vdocuments.pub/reader036/viewer/2022062310/589d212e1a28abeb478b4a77/html5/thumbnails/7.jpg)
Por último, vamos a convertir la variable RIESGO SEXUAL a una dicotómica.
![Page 8: R commander](https://reader036.vdocuments.pub/reader036/viewer/2022062310/589d212e1a28abeb478b4a77/html5/thumbnails/8.jpg)
![Page 9: R commander](https://reader036.vdocuments.pub/reader036/viewer/2022062310/589d212e1a28abeb478b4a77/html5/thumbnails/9.jpg)