cut_off_elementwise: Cut Off Elementwise

Description Usage Arguments Examples

View source: R/cut_off.R

Description

Throw out elements that exceed a certain absolute value.

Usage

1
cut_off_elementwise(e, cutoff = 1.96)

Arguments

e

An element of a vector.

cutoff

A numeric cutoff value.

Examples

1
mtcars$carb[3:15] %>% purrr::map(cut_off_elementwise, cutoff = 3)

aedobbyn/dobtools documentation built on May 28, 2019, 2:33 a.m.