Description Usage Arguments Value Note Examples
Determine if list has only numerical values.
1 |
x |
Object to determine |
Boolean indicating if object is list with only numerical values
do not forget: NAs are removed from a list!
1 2 3 4 5 6 7 8 9 10 11 | testit::assert(
DAISIE:::is_numeric_list(
x = list(char = "character", numerical = 1)
) == FALSE
)
testit::assert(
DAISIE:::is_numeric_list(
x = list(numerical_1 = 1, numerical_2 = 2)
) == TRUE
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.