sortE: Make endpoints of intervals positive

Description Usage Arguments Value

View source: R/trunc_distr.R

Description

This function modifies a union of intervals with possibly negative enpoints into a union of intervals with positive endpoints, while ensuring the probability of a N(0, 1) falling into it numerically the same.

Usage

1
sortE(E)

Arguments

E

an "Intervals" object or a matrix where rows represents a union of intervals with positive but possibly infinite endpoints.

Value

This function returns an "Intervals" object or a matrix depending on the input.


shuxiaoc/outference documentation built on Dec. 5, 2017, 3:48 a.m.