please tell me the code for match function in dplyr package in r
if I understand well you want to elect one or more observations of the data frame if this is trace case check the function dplyr::filter()
You can use
filter() function in dplyr package as:
filter(dataset, column_name == "value") to filter out the rows based on a particular value.
For a more intense search you can use
grepl() function from the same dplyr package. It can be used to filter out rows in a dataframe based on a particular substring in a column value, as:
I hope this helps.