Description Usage Arguments Value Examples
Number of row in a table. This function is not "group aware" it returns the total number of rows, not rows per dplyr group.
Also replyr_nrow
depends on data being returned to count, so some corner cases (such as zero columns) will count as zero rows.
In particular work around dplyr issue 2871 https://github.com/tidyverse/dplyr/issues/2871.
1 | replyr_nrow(x)
|
x |
tbl or item that can be coerced into such. |
number of rows
1 2 | d <- data.frame(x=c(1,2))
replyr_nrow(d)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.