sortE: Make endpoints of intervals positive

View source: R/trunc_dist.R

sortER Documentation

Make endpoints of intervals positive

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

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.


yiqunchen/KmeansInference documentation built on June 4, 2022, 1:20 p.m.