How it works...

Like other verbs in dplyr, filter() takes the first input as the data frame and then executes the conditional statement. The output dataset contains only those rows that satisfy the condition provided within the filter() function. The conditional part could take any valid complex condition that produces only a TRUE/FALSE response.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset