odd {tableHTML} | R Documentation |
Get the odd or even numbers from a numeric vector
Description
Get the odd or even numbers from a numeric vector
Usage
odd(vec)
even(vec)
Arguments
vec |
A numeric atomic vector. |
Details
odd
will extract the odd numbers from a vector.
even
will extract the
even numbers from a vector
Value
A numeric atomic vector with the odd / even numbers
Examples
odd(1:10)
even(1:10)
[Package tableHTML version 2.1.2 Index]