R/tam_dnorm_discrete.R

Defines functions tam_dnorm_discrete

## File Name: tam_dnorm_discrete.R
## File Version: 0.01

tam_dnorm_discrete <- function(x, mean=0, sd=1)
{
    y <- stats::dnorm(x=x, mean=mean, sd=sd)
    y <- y/sum(y)
    return(y)
}

Try the TAM package in your browser

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

TAM documentation built on May 29, 2024, 2:20 a.m.