R Tutorial 23: Multi-variable Scatter Plots and Line Charts

Поділитися
Вставка
  • Опубліковано 6 лис 2024

КОМЕНТАРІ • 8

  • @berni1602
    @berni1602 3 роки тому

    Thank you so much, I was looking for exactly this.
    Very well explained, I'd love to know what's the other method you mention to make it in a more elegant way.

  • @soulwriterqa2363
    @soulwriterqa2363 3 роки тому

    Thank you for this very clear explanation. If I want to add 2 labels to Y axis, for eg, "GDP of US, GDP of USSR" how do I do it.

    • @michaelgastner
      @michaelgastner 3 роки тому

      Usually, the y-axis label would summarise both data sets (e.g. "GDP") and a legend (e.g. different colours for different countries) would be used, as shown at 3:45.

    • @soulwriterqa2363
      @soulwriterqa2363 3 роки тому

      @@michaelgastner thank you for the reply. I wanted to clarify, if after using points function, is there any way to update the Y axis labels. I am fairly new to R, and was plotting height and weight on Y axis, with age on X axis. So after using the points function for weight, how do i update the y axis labels to show "weight,height". I am doing the legend as well, but not sure on how to show it in the y axis

    • @michaelgastner
      @michaelgastner 3 роки тому

      @@soulwriterqa2363 You can change the y-axis label with the argument ylab in plot(). For more complex layouts, there is also a function axis().

  • @infoplus25
    @infoplus25 3 роки тому

    Thank You so much for such clear explanation..

  • @pega-ace6719
    @pega-ace6719 4 роки тому

    Thank you for the interesting video! :)

  • @juako384
    @juako384 3 роки тому

    Thanks 👏🏼