Aan de slagGa gratis aan de slag

Filtering model terms

You currently have both the intercept and slope terms for each by-country model. You're probably more interested in how each is changing over time, so you want to focus on the slope terms.

Deze oefening maakt deel uit van de cursus

Case Study: Exploratory Data Analysis in R

Cursus bekijken

Oefeninstructies

  • Print the country_coefficients data frame to the console.
  • Perform a filter() step that extracts only the slope (not intercept) terms.

Praktische interactieve oefening

Probeer deze oefening eens door deze voorbeeldcode in te vullen.

# Print the country_coefficients dataset


# Filter for only the slope terms
Code bewerken en uitvoeren