Plotting longitudinal data with geom_point() + geom_line() | Professional dataviz with ggplot2 | R

Поделиться
HTML-код
  • Опубликовано: 22 авг 2024
  • 5 minutes is enough to create a professional-looking and ready for publication chart. In this video i will show how to visualize longitudinal data using geom_point() and geom_line() functions from ggplot2 package.
    The data used in this video is the 'Orange' dataset from 'datasets' package.
    The code and files can be found on my github repository: github.com/ser...
    Forest sciences and biometrics in R (portuguese): mensura-r.netl...
    Video music: Lazarus Moment - In A Cabin By The Lake ( • Lazarus Moment - In A ... )

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

  • @user-nb3wh7us8x
    @user-nb3wh7us8x 3 года назад

    It's REALLY the best video about graphics on R. i loveeee it!!! thank you sooo much !!

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

    Awesome video! Please do more step-by-step R data visualization tutorials!

  • @samuelvitor2424
    @samuelvitor2424 8 месяцев назад

    Show de bola

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

    Fantastical tutorial, best one!

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

    Thanks

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

    why when i use the geom_line its always error, its says "Each group consists of only one observation."

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

    thank you for this; I am trying to visulaise the below but I am getting straight lines connected in the same year. any idea how to fix it?
    world_bank_pop %>%
    # tibble() %>%
    # janitor::clean_names() %>%
    pivot_longer(cols = 3:20,
    names_to = "date_data",
    values_to= "num_values") %>%
    tibble() %>%
    head(100) %>%
    ggplot(aes(date_data, num_values,
    groups = country)) +
    # geom_line()+
    geom_point()

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

    Why mine said could not find function ggplot

  • @annestephen3174
    @annestephen3174 4 года назад +1

    Hello,
    How can i get the data you are using on this clip. Great Work.

    • @sergiocosta6151
      @sergiocosta6151  4 года назад

      The data is in the base package `datasets`. Just load the package and type `Orange` to see it, as shown in the video.