isEvery | R Documentation |
Checks whether all objects evalutes to TRUE for a provided function criterion
isEvery(..., func)
... |
objects that need testing |
func |
function used to evaluate the truth |
Returns TRUE if any objects are a try error, returns FALSE otherwise
x <- 1
y <- "a"
z <- NA
isEvery(x, y, z, func=is.numeric)
isEvery(x, y, z, func=is.na)
isEvery(x, y, z, func=is.vector)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.