Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

reduceVector

Remove zeros and repeated values


Description

This is a helper function to remove all zeros and repeated values from a vector.

Usage

reduceVector(X)

Arguments

X

A (frequency) vector

Details

This is a helper function to strip all zeros and repeated values from a vector.

Value

The function returns vector

Author(s)

Didier Ruedin

See Also


agrmt

Calculate Concentration and Dispersion in Ordered Rating Scales

v1.42.4
MIT + file LICENSE
Authors
Didier Ruedin [aut, cre] Clem Aeppli [ctb]
Initial release
2020-08-29

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.