odd_even: Get the odd or even numbers from a numeric vector

oddR 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)


LyzandeR/tableHTML documentation built on April 17, 2023, 3:57 p.m.