Beautiful bar charts in R

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

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

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

    You can find materials from this vid (and others) at github.com/equitable-equations/youtube.

  • @pinklemonade6597
    @pinklemonade6597 5 หลายเดือนก่อน +1

    Thank you so much for these videos ive learnt so much in such a short time!

  • @pinklemonade6597
    @pinklemonade6597 5 หลายเดือนก่อน +1

    It’s probably just me not but in case anyone got stuck when trying to add total employed rn, remember to use backticks not quotes!

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

    Thanks for the very informative video. I'm teaching my students bar charts and this helps. One note: When you change the x and y axis,
    the *Total Employed RN* has to be in a forward tick, this " ` ", which had me confused for a bit.

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

      I could not get it to work until I read this. Thanks for posting it.

  • @geogebraphtraining2501
    @geogebraphtraining2501 5 หลายเดือนก่อน

    Great job! Thank you very much!

  • @AllThingsAnatomy
    @AllThingsAnatomy 5 หลายเดือนก่อน +1

    Awesome Video! How could I add margin text on a bar chart? I keep getting error "plot.new has not been called yet" when using mtext

  • @StephanieGagne-r6q
    @StephanieGagne-r6q 21 วันที่ผ่านมา

    thank you

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

    I cannot do the last part of your video. I am a great fan of your video and will follow you. Thank you

  • @sarveshkannan682
    @sarveshkannan682 5 หลายเดือนก่อน

    I am not able to access the Carseats datasets.

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

    Hi! I am new to R, your tutorials are helping me a lot to learn how to navigate through it, thank you! I was wondering, when we dont give "y" a value, on the charts we see the word "count" , I was wondering, is there any way to remove that word?

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

      Yep, you want to add a "labs" argument. There's a help file for it.

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

      @@EquitableEquations ah i see, thank you! .

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

    Thank you!

  • @c12345-e
    @c12345-e ปีที่แล้ว

    Hi there! Im really enjoying your videos. I am trying to reproduce your Nurse examples but my plot looks very weird compared to your, though I have checked multiple times that my code is the same.
    ggplot(nurses_2020, aes(x= State,
    y= "Total Employed RN")) +
    geom_col()

    Basically, the plot i get is where all the state bars go to the exact same height horizontally.
    Also, when I go into your folder to look at your Rscript it says x = Total Employed RN and y = State, but that looks super wrong too.

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

      Hi! You need to use a single tick ` and not a quotation mark ". R thinks you're specifying a character vector of length 1.

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

    Is it possible to make a bar plot where each colored bar has its own scaled y-axis? I’m trying to plot the density of two different species on the same plot but they’re on completely different “magnitudes” (0.1 vs 0.001).

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

      You might use a logarithmic scale for the y-axis with scale_y_continuous().

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

      @@EquitableEquations That worked well, thank you!

  • @JohnChu-z4w
    @JohnChu-z4w ปีที่แล้ว

    good, watched 2023.10.8

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

    Sir can u share your scripts in description Link? Thanks