The error message "object 'Price' not found" suggests that the dplyr package is not correctly recognizing the Price column. This could be due to several reasons, such as a conflict with another package or the data frame not being correctly passed through the pipe operator (%>%). To ensure the examples work correctly, let's make sure to load the dplyr package properly and check the structure of the data frame. Here are the corrected examples with additional steps to diagnose and resolve potential issues: Help on topic 'filter' was found in the following packages: Keep rows that match a condition (in package dplyr in library C:/Users/pauly/AppData/Local/R/win-library/4.3) Linear Filtering on a Time Series (in package stats in library C:/Program Files/R/R-4.3.3/library) Linear filtering on a time series (in package timeSeries in library C:/Users/pauly/AppData/Local/R/win-library/4.3)