Ayuda en ejercicio

32 views
Skip to first unread message

narana

unread,
Jan 26, 2019, 10:02:14 AM1/26/19
to ggplot2
hi!, need to complete de code for this graphic, can you help me? thanks,.  

example.png


Roman Luštrik

unread,
Jan 26, 2019, 10:36:13 AM1/26/19
to narana, ggplot2
This looks like something along the lines of

ggplot(data, aes(x = K1, y = K2, color = grosor)) +
  geom_point() +
  facet_grid(var1 ~ var2)

Where grosor is a factor, var1 is a factor with levels 1 and 2, var2 is a factor with levels 5 and 6. You can check out the references at https://ggplot2.tidyverse.org/reference/


Cheers,
Roman


On Sat, Jan 26, 2019 at 4:02 PM narana <aalv...@gmail.com> wrote:
hi!, need to complete de code for this graphic, can you help me? thanks,.  

example.png


--
--
You received this message because you are subscribed to the ggplot2 mailing list.
Please provide a reproducible example: https://github.com/hadley/devtools/wiki/Reproducibility
 
To post: email ggp...@googlegroups.com
To unsubscribe: email ggplot2+u...@googlegroups.com
More options: http://groups.google.com/group/ggplot2

---
You received this message because you are subscribed to the Google Groups "ggplot2" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ggplot2+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
In God we trust, all others bring data.
Reply all
Reply to author
Forward
0 new messages