fixIntervals: Fix interval to be increasingly ordered

Description Usage Arguments Value Author(s) 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.

Author(s)

Francisco Mendoza-Torres (mentofran@gmail.com)

Examples

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

mathphysmx/percolation documentation built on Aug. 14, 2019, 2:03 a.m.