fun.zero.omit: Returns a vector after removing all the zeros.

fun.zero.omitR Documentation

Returns a vector after removing all the zeros.

Description

This function returns a vector after removing all the zeros.

Usage

fun.zero.omit(object)

Arguments

object

A vector of data.

Value

Returns a vector after removing zeros and also give information on the number of zeros in the data removed.

Note

Missing value and Inf values are not removed in this zero removing process.

Author(s)

Steve Su

See Also

fun.which.zero

Examples

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

GLDEX documentation built on Aug. 21, 2023, 9:08 a.m.

Related to fun.zero.omit in GLDEX...