Aan de slagGa gratis aan de slag

Survey-weighted scatter plots

In scatter plots, we can also account for the sampling design through the saturation of color or the transparency of the points. Let's see how these forms change the look of our scatter plot of height versus weight among 20 year olds.

Deze oefening maakt deel uit van de cursus

Analyzing Survey Data in R

Cursus bekijken

Praktische interactieve oefening

Probeer deze oefening eens door deze voorbeeldcode in te vullen.

# Construct a scatter plot
ggplot(data = ___,
       mapping = aes(___)) + 
	geom_point() + 
    guides(___ = "none")
Code bewerken en uitvoeren