NA_to_zero: Change all NA values (missing vlaues) in a column to zero

Description Usage Arguments

View source: R/NA_to_zero.R

Description

Change all NA values (missing vlaues) in a column to zero

Usage

1
NA_to_zero(dat, column, return = "df")

Arguments

dat

dataframe of USGS BBS data containing NAs that should be replaced with zeros

column

column within dataframe containing NAs that should be converted to a dataframe

return

"df" or "column"; whether to return the whole dataframe (deafault) or just the column


brouwern/compbio4all documentation built on Dec. 19, 2021, 11:47 a.m.