Understand annotate() to improve your plots | A ggplot2 Tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 2 ม.ค. 2025

ความคิดเห็น • 15

  • @VibeZ_1221
    @VibeZ_1221 8 หลายเดือนก่อน

    Great video , thanks

  • @zeffdronin6422
    @zeffdronin6422 9 หลายเดือนก่อน

    i appreciate these videos. thank u!

  • @kevalan1042
    @kevalan1042 ปีที่แล้ว +1

    This is useful.
    I feel that the "next level" for ggplot would be to have a *bidirectional* interaction between the code and the plot. For example, we should be able to move the text annotation around in the plot (using the mouse), and that should update the coordinates in the code.

  • @muhammedhadedy4570
    @muhammedhadedy4570 ปีที่แล้ว

    What an excellent presentation. Thank you a lot.

  • @AlbertoFCabreraCasillas
    @AlbertoFCabreraCasillas ปีที่แล้ว

    This presentation brings together the best books on tidy & ggplot (e.g., ggplot, r graphics textbook) in a clear manner. This presentation demystified for me the difference between geom_ and annotate_.

    • @rfortherestofus
      @rfortherestofus  ปีที่แล้ว

      Thank you, Alberto! I have been wondering about the difference myself for some time. So I'm happy that my explanation was able to help you.

  • @dasrotrad
    @dasrotrad ปีที่แล้ว

    Thank you such a great demo.

  • @SebastianExtreme47
    @SebastianExtreme47 9 หลายเดือนก่อน

    How would I write sub/ superscripts in the annotate function? For example: I want to include an annotation with an equation an R^2 value. I've tried the up arrow but it just shows in the text?

    • @rfortherestofus
      @rfortherestofus  9 หลายเดือนก่อน

      I think you need to use the {ggtext} package to make this work. Let me know if that helps!

  • @erikgahnerlarsen
    @erikgahnerlarsen ปีที่แล้ว

    Great stuff! However, the URL in the description is not working (or, it is returning a 'Page Not Found').

    • @rfortherestofus
      @rfortherestofus  ปีที่แล้ว

      The URL should work now. Sorry for the confusion :)

    • @erikgahnerlarsen
      @erikgahnerlarsen ปีที่แล้ว

      That is brilliant, thanks :)

  • @djangoworldwide7925
    @djangoworldwide7925 10 หลายเดือนก่อน

    Instead of using annotation you could probably set the data argument in each specific Geom to what you need ..