IniziaInizia gratis

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.

Questo esercizio fa parte del corso

Case Study: Exploratory Data Analysis in R

Visualizza il corso

Istruzioni dell'esercizio

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

Esercizio pratico interattivo

Prova a risolvere questo esercizio completando il codice di esempio.

# Print the country_coefficients dataset


# Filter for only the slope terms
Modifica ed esegui il codice