Control Point Border Thickness of ggplot2 Scatterplot in R (Example) | Increase or Decrease Borders

Publicado el: 06 noviembre 2020
en el canal de: Statistics Globe
385
12

How to modify the thickness of points in a ggplot2 scatterplot in the R programming language. More details: https://statisticsglobe.com/control-p...
R code of this video:

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

install.packages("ggplot2") # Install ggplot2 package
library("ggplot2") # Load ggplot2 package

ggplot(data, aes(x, y)) + # Create scatterplot
geom_point(fill = "#1b98e0",
color = "#353436",
size = 10,
shape = 21)

ggplot(data, aes(x, y)) + # Increase thickness of point borders
geom_point(fill = "#1b98e0",
color = "#353436",
size = 10,
shape = 21,
stroke = 5)

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


En esta página del sitio puede ver el video en línea Control Point Border Thickness of ggplot2 Scatterplot in R (Example) | Increase or Decrease Borders de Duración hora minuto segunda en buena calidad , que subió el usuario Statistics Globe 06 noviembre 2020, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 385 veces y le gustó 12 a los espectadores. Disfruta viendo!