ptuvn: Distribution function of truncated univariate normal...

View source: R/ptuvn.R

ptuvnR Documentation

Distribution function of truncated univariate normal distribution

Description

ptuvn calculates the cumulative distribution function (cdf) of truncated univariate normal distribution.

Usage

ptuvn(x, mean, sd, lower, upper)

Arguments

x

value at which cdf is desired.

mean

mean of the underlying univariate normal distribution.

sd

standard deviation of the underlying univariate normal distribution.

lower

lower bound for truncation.

upper

upper bound for truncation.

Value

ptuvn returns the cumulative distribution function (with same dimension and type as x) of truncated univariate normal distribution.

Examples

ptuvn(x= -3:3, mean=0, sd=1 ,lower= -2, upper=2)


tmvmixnorm documentation built on May 11, 2026, 9:07 a.m.

Related to ptuvn in tmvmixnorm...