Learn R Programming

ashr (version 2.0.5)

my_etruncnorm: my_etruncnorm

Description

Compute expectation of truncated normal.

Usage

my_etruncnorm(a, b, mean = 0, sd = 1)

Arguments

a
Left limit of distribution.
b
Right limit of distribution.
mean
The mean of the untruncated normal.
sd
The standard deviation of the untruncated normal.