[R-es] Gráfica en R

Andrés Hirigoyen @ndre@h|r|goyen @end|ng |rom gm@||@com
Lun Oct 16 20:11:05 CEST 2023


Buenas tardes. Necesito una mano para reproducir esta gráfica  en R desde
esta base:
Base:

Dosis Nivel Peso1 Peso2
1 0 1,88 2,43
1 40 1,86 2,84
1 80 2,06 3,02
1 120 2,08 4,12
1 300 1,81 5,65
1 600 1,77 5,96 Gráfica Excel
[image: image.png]

Si uso asi:
ggplot(data=data, aes(x = Peso1, y =Peso2, group=Nivel, color =Nivel))+
 geom_point()+
 geom_line()
Une los puntos por orden de magnitud y no por orden de Nivel:
[image: image.png]
Muchas gracias desde ya

   -

------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: <https://stat.ethz.ch/pipermail/r-help-es/attachments/20231016/88d0bf3f/attachment-0001.html>

------------ próxima parte ------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 11804 bytes
Desc: no disponible
URL: <https://stat.ethz.ch/pipermail/r-help-es/attachments/20231016/88d0bf3f/attachment-0002.png>

------------ próxima parte ------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 7879 bytes
Desc: no disponible
URL: <https://stat.ethz.ch/pipermail/r-help-es/attachments/20231016/88d0bf3f/attachment-0003.png>


Más información sobre la lista de distribución R-help-es