fixIntervals: Fix interval to be increasingly ordered

Description Usage Arguments Value Examples

View source: R/fixIntervals.R

Description

Fix interval to be increasingly ordered

Usage

1
fixIntervals(x0, x1)

Arguments

x0

Numeric vector. Left value of the interval (pair coordinates).

x1

Numeric vector. Right value of the interval (pair coordinates).

Value

A data.frame with columns xl and xu, the lower and upper values. Each row is sorted increasingly.

Examples

1
2
3
xl <- c(-1, 0.3, -4,  2)
xu <- c( 1,   1, -2, -3)
fixIntervals(xl, xu)

mathphysmx/gmshR documentation built on May 7, 2019, 1:25 p.m.