powered by
Applies user function to head of each column. Good for determing things such as column class.
replyr_testCols(x, f, n = 6L)
tbl or item that can be coerced into such.
test function (returning logical, not depending on data length).
number of rows to use in calculation.
logical vector of results.
# NOT RUN { d <- data.frame(x=c(1,2),y=c('a','b')) replyr_testCols(d,is.numeric) # }
Run the code above in your browser using DataLab