Description Usage Arguments See Also Examples
Object predicates
1 2 3 4 5 6 7 8 9 10 11 | chk_call(x)
chk_factor(x)
chk_data_frame(x)
chk_matrix(x)
chk_formula(x)
chk_function(x)
|
x |
Object to test. |
Type predicates
1 2 3 4 5 6 7 | row_sums <- firmly(rowSums, chk_matrix(x))
row_sums(matrix(1:6, 2, 3))
## Meaningless to sum across rows when column units differ
## Not run:
row_sums(mtcars)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.