powered by
Check modes of objects
check_modes(..., mode_to_confirm = NULL)
R objects.
The function will test whether each input is of this mode. For example, check_modes(a, mode_to_confirm = "numeric"), the function will check whether the object a is numeric.
check_modes(a, mode_to_confirm = "numeric")
a
check_modes(1L, mode_to_confirm = "numeric") check_modes( TRUE, FALSE, 1L, 1:3, 1.1, c(1.2, 1.3), "abc", 1 + 2i, intToBits(1L), mode_to_confirm = "numeric")
Run the code above in your browser using DataLab