Plot in R :Adding data labels to R plots, Data Visualization using R , GGplot2, P

Поделиться
HTML-код
  • Опубликовано: 1 фев 2025

Комментарии • 10

  • @artemisarojas9999
    @artemisarojas9999 2 года назад

    Thank you very much Sir, it was a great help

    • @DevResearch
      @DevResearch  2 года назад

      Thanks for this appreciation. Please share this.

  • @NikitaJonesSubscribe
    @NikitaJonesSubscribe 3 года назад

    Thank you Sir!!! Fantastic video :)

    • @DevResearch
      @DevResearch  3 года назад

      Thanks for appreciation. Keep watching my videos and please share with your friends.

  • @chaytanyakumar8939
    @chaytanyakumar8939 3 года назад +1

    Good one!

  • @dishadhanda5416
    @dishadhanda5416 2 года назад

    How to add specific names to each of the bars? Like bar 1 = a, 2 = b and soon?

  • @sylvestermulanshokachanda
    @sylvestermulanshokachanda 2 года назад

    Can I round off values displayed by geom_text/label?

    • @DevResearch
      @DevResearch  2 года назад +1

      Yes, inbthe aes(), before nane of the variable add round (), like this,. ggplot(data, aes(xvar,yvar, label=round(var,2)))+
      Geom_text()
      This will round the value to two decimal points.

    • @sylvestermulanshokachanda
      @sylvestermulanshokachanda 2 года назад

      @@DevResearch Thanks for the quick reply, I'll have a go at it!