Applies user function to head of each column. Good for determing things such as column class.
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.
#> x y #> TRUE FALSE