How to use masked functions

I just installed the dplyr package and it is displaying that some of the objects are masked. I want to use the filter(), but is masked. How do I unmask them

The warning is telling you that dplyr::filter() is masking stats::filter(). If you want to use the dplyr function, you can just call filter() directly. However, if you want to use the latter, you'll have to be explicit about the package by typing stats::filter().

1 Like

This topic was automatically closed after 45 days. New replies are no longer allowed.


If you have a query related to it or one of the replies, start a new topic and refer back with a link.