| rowfirst | R Documentation |
First non-missing value across columns, per row
rowfirst(data, cols = NULL, na.rm = FALSE)
data |
A data.frame. |
cols |
Character vector of column names. |
na.rm |
Drop missing values before computing the result. |
A vector of first values.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.