Description Usage Arguments Value Examples
complete_cases_array
is generalization of complete_cases
to arrays. any_cases_array
tests for any non-NA rather than all
non-NA along margin.
1 2 3 | any_cases_array(a, margin = 1)
all_cases_array(a, margin = 1)
|
a |
multidimensional array |
margin |
margins to test along |
matrix
1 2 3 4 5 6 | a <- array(0, dim =c(3,4,2))
a[2,2,] <- NA
any_cases_array(a, margin=1)
any_cases_array(a, margin=c(1,2))
all_cases_array(a, margin=1)
all_cases_array(a, margin=c(1,2))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.