Graphing Functions in R using ggplot()

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

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

  • @haraldurkarlsson1147
    @haraldurkarlsson1147 9 месяцев назад

    Neat! I was using curve() from base R. This is much simpler.

  • @romanvasiura6705
    @romanvasiura6705 Год назад

    Thank you!

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

    Thank you for this
    suppose you got sales data.
    you got items sold, their quantity and value
    if I were in excel I would make a bar plot for the value, i.e. sales value, and volume/quantity of items sold as line chart combined with the previous but the latter would use a secondary axis
    now, I know such a thing is possible by mapping different data to different geoms but I am facing an issue visualising the quantity on a line chart
    any ideas?
    x-axis would have categorical labels and the other numeric

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

      Hi! For specific questions like this, I recommend the R4DS learning community. www.rfordatasci.com/