replace_NAs_with_val: Replace 'NA' with a value

View source: R/bounded_values.R

replace_NAs_with_valR Documentation

Replace NA with a value

Description

Replace NA with a value

Usage

replace_NAs_with_val(x, val_replace)

Arguments

x

An R object.

val_replace

A value that replaces NA in x

Examples

replace_NAs_with_val(c(1, NA, 0), -9999)


DrylandEcology/rSW2utils documentation built on Dec. 9, 2023, 10:44 p.m.