R/cdm_log.R

Defines functions cdm_log

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

cdm_log <- function(x, eps)
{
    x <- ifelse(x < eps, eps, x)
    y <- log(x)
    return(y)
}

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.