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.


lucylgao/clusterpval documentation built on July 4, 2023, 4:40 p.m.