zero_to_na | R Documentation |
Change nondetect representation
zero_to_na(x, verbose = FALSE)
nan_to_na(x, verbose = FALSE)
na_to_zero(x, verbose = FALSE)
inf_to_na(x, verbose = FALSE)
minusinf_to_na(x, verbose = FALSE)
na_to_string(x)
x |
matrix |
verbose |
logical(1) |
Updated matrix
matrix(c(0, 7), nrow=1)
matrix(c(0, 7), nrow=1) %>% zero_to_na(verbose=TRUE)
matrix(c(NA, 7), nrow=1)
matrix(c(NA, 7), nrow=1) %>% na_to_zero(verbose=TRUE)
matrix(c(NaN, 7), nrow=1)
matrix(c(NaN, 7), nrow=1) %>% nan_to_na(verbose=TRUE)
matrix(c(Inf, 7), nrow=1)
matrix(c(Inf, 7), nrow=1) %>% inf_to_na(verbose=TRUE)
matrix(c(-Inf, 7), nrow=1)
matrix(c(-Inf, 7), nrow=1) %>% minusinf_to_na(verbose=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.