fun.zero.omit | R Documentation |
This function returns a vector after removing all the zeros.
fun.zero.omit(object)
object |
A vector of data. |
Returns a vector after removing zeros and also give information on the number of zeros in the data removed.
Missing value and Inf values are not removed in this zero removing process.
Steve Su
fun.which.zero
# Removing zero entries from the vector c(0,1,2,3,4,0,2)
fun.zero.omit(c(0,1,2,3,4,0,2))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.