Description Usage Arguments Examples
View source: R/row_first_match.R
Find the value of the first match in rowwise. The code from https://community.rstudio.com/t/interesting-tidy-eval-use-cases/21121/39
1 | row_first_match(.f, ...)
|
.f |
A function, formula, or vector, like in 'purrr::detect()' If a function, it is used as is. If a formula, e.g. ~ .x + 2, it is converted to a function. There are three ways to refer to the arguments: * For a single argument function, use '.' * For a two argument function, use '.x' and '.y' * For more arguments, use '..1', '..2', '..3' etc This syntax allows you to create very compact anonymous functions. |
... |
column names selected in data.frame, e.g. 'x, y, z'. |
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.