Change Line Width in ggplot2 Plot in R (Example) | Increase or Decrease Thickness of Line Plots
Автор: Statistics Globe
Загружено: 2020-04-10
Просмотров: 2380
How to modify the line size in a ggplot2 plot in the R programming language. More details: https://statisticsglobe.com/change-li...
R code of this video:
set.seed(9631) # Create example data
data <- data.frame(x = 1:10,
y = runif(10))
install.packages("ggplot2") # Install and load ggplot2
library("ggplot2")
ggplot(data, aes(x, y)) + # Create default line plot
geom_line()
ggplot(data, aes(x, y)) + # Increase line size
geom_line(size = 3)
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: