some_type | R Documentation |
Check if an object inherits one (or more) of a vector classes.
some_type( object, types )
object |
Any |
types |
A |
A logical
indicator
Alex Zajichek
#Columns of a data frame heart_disease %>% purrr::map_lgl( some_type, types = c("numeric", "logical") )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.