zero_if_na: Helper function that sets NAs to zeros in a supplied...

zero_if_naR Documentation

Helper function that sets NAs to zeros in a supplied data.frame

Description

Helper function that sets NAs to zeros in a supplied data.frame

Usage

zero_if_na(df)

Arguments

df

data.frame or matrix

Value

data.frame or matrix in which all negative and NA values are set to zero


fbreitwieser/pavian documentation built on Sept. 23, 2024, 11:03 p.m.