remove_zeros: Replace a Value in a vector/array

Description Usage Arguments Value

View source: R/utils.R

Description

Replace a Value in a vector/array

Usage

1
remove_zeros(x, rem = 0, rep = 1)

Arguments

x

the array

rem

the value to replace, default 0

rep

the value to replace with, default 1

Value

the array with rem replaces with rep


itamarfaran/corrpops documentation built on Dec. 20, 2021, 8:02 p.m.