R/replace_NA.R

Defines functions replace_NA

## File Name: replace_NA.R
## File Version: 0.04

replace_NA <- function( matr, value=0 )
{
    matr[ is.na(matr) ] <- value
    return(matr)
}

Try the CDM package in your browser

Any scripts or data that you put into this service are public.

CDM documentation built on Aug. 25, 2022, 5:08 p.m.