Draw ggplot2 Plot with Lines & Points in R (Example) | Add Scatterplot Line | geom_line & geom_point

Publicado em: 09 Maio 2021
no canal de: Statistics Globe
1,701
27

How to draw a ggplot2 plot with lines and points in the R programming language. More details: https://statisticsglobe.com/draw-ggpl...
R code of this video:

data <- data.frame(x = 1:5, # Create example data
y = c(1, 7, 4, 1, 2))

install.packages("ggplot2") # Install & load ggplot2
library("ggplot2")

ggplot(data, aes(x, y)) + # Draw ggplot2 plot
geom_line() +
geom_point()

Follow me on Social Media:
Facebook:   / statisticsglobecom  
LinkedIn:   / statisticsglobe  
Patreon:   / statisticsglobe  
Pinterest: https://www.pinterest.de/JoachimSchork
Reddit:   / joachimschork  
Twitter:   / joachimschork  


Nesta página do site você pode assistir ao vídeo on-line Draw ggplot2 Plot with Lines & Points in R (Example) | Add Scatterplot Line | geom_line & geom_point duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Statistics Globe 09 Maio 2021, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 1,701 vezes e gostou 27 espectadores. Boa visualização!