powered by
Filter observations and variables and directly view the result on screen.
where.(data_frame, condition = NULL, keep = NULL)
Returns a filtered data frame.
A data frame on which to apply filters.
The condition on which to filter observations.
The Variables to keep in the result data frame.
# Example data frame my_data <- dummy_data(1000) # G et a quick filtered view my_data |> where.(sex == 1 & age < 25, c(sex, age, household_id, education))
Run the code above in your browser using DataLab