Make an apa-style bar graph in ggplot2

แชร์
ฝัง
  • เผยแพร่เมื่อ 16 ธ.ค. 2024

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

  • @thetoaster6413
    @thetoaster6413 2 ปีที่แล้ว +2

    Thank you so much for this! I love the fact that you went through the code line by line so that we can understand what's going on.

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

    Thank you so much for this. It was a huge help with building graphs for my master thesis.

  • @bkarim7349
    @bkarim7349 2 ปีที่แล้ว +2

    thank you prof, it is very useful and very clear

  • @md.tajbibrahman9285
    @md.tajbibrahman9285 2 ปีที่แล้ว +1

    Thank you sir, we want more like this..!!!

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

    very very good video. the first video i dont want quit!

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

    Thanks, very helpful!

  • @TaraTigerBrown
    @TaraTigerBrown 8 หลายเดือนก่อน +1

    re: legend vertical spacing. The comments on substack mentioned a code update since your tutorial and to use this example (worked for me with .y):
    p + theme(
    legend.key.spacing.x = unit(1, "cm"),
    legend.key.spacing.y = unit(1, "cm")
    )

    • @paulb.982
      @paulb.982 7 หลายเดือนก่อน

      Where in the code should this be added?

  • @robertomariapellegrino9365
    @robertomariapellegrino9365 ปีที่แล้ว +2

    Hi, I tried to get the graph by pasting the commands but got the following error message:
    Error in get(as.character(FUN), mode = "function", envir = envir) :
    object 'draw_key_polygon3' of mode 'function' was not found
    Can anyone help me?

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

    It was brilliant, perfect and very useful.

    • @ggplot2tor383
      @ggplot2tor383  2 ปีที่แล้ว

      Thanks MS. Nice to hear that.

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

    Is there any way to do this without using a mean or overall score i.e. keeping all the individual points to be able to do geom_jitter overlayed?

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

    Many thanks indeed for this tutorial. I would like to know how such an APA bar graph can be made edittable instead of being saved as unedittable png or jpeg picture.
    Thanks once again.
    Appreciation from Uganda

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

    Very nice! However, after adding the guides for the legend, the smaller legend keys disappeared and the sizes were reset. Is there a fix?

  • @rijithraj1
    @rijithraj1 2 ปีที่แล้ว +2

    code did not work for me :(
    object 'draw_key_polygon3' of mode 'function' was not found

    • @pouyanalizade8753
      @pouyanalizade8753 2 ปีที่แล้ว +5

      You should first run this code:
      draw_key_polygon3

    • @sijinchen5230
      @sijinchen5230 2 ปีที่แล้ว

      @@pouyanalizade8753 Thank you so much!

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

      @@pouyanalizade8753 Hey that was awesome. Thank you so much :)

  • @vortexchilling3816
    @vortexchilling3816 3 ปีที่แล้ว +2

    code does not work here

  • @SadanandKarun
    @SadanandKarun 2 หลายเดือนก่อน

    Dear sir,
    Thankyou so much, your videos are very helpful to learn data visualization in R.
    NEED HELP:
    I want to make a graph in which I want to show, percent of income spent and saved which totals to hundred percent for males and females by country. I've tried several ways but am not able to do that. Kindly help.
    For example; suppose there are five countries. In each country males and females spend some percent of their income and save the remaining. I want to show what percentage of income is spent and what is saved for males and females for each country.
    So, as per my requirement, the countries will be on the X axis and each country will have two stacked bars; one for male and other for females. Please help me how we can do that I R software.
    Kindly make a video and upload it. I've searched many videos on TH-cam but didn't find any.

  • @phearenkit849
    @phearenkit849 2 ปีที่แล้ว

    Thanks

  • @viggisuperstar
    @viggisuperstar 2 ปีที่แล้ว

    goat