Description Usage Arguments Value Examples
Applies user function to head of each column. Good for determing things such as column class.
1 | replyr_testCols(x, f, n = 6L)
|
x |
tbl or item that can be coerced into such. |
f |
test function (returning logical, not depending on data length). |
n |
number of rows to use in calculation. |
logical vector of results.
1 2 | d <- data.frame(x=c(1,2),y=c('a','b'))
replyr_testCols(d,is.numeric)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.