xy.order: Order Vectors of X and Y Coordinates

Description Usage Arguments Value

Description

Order a vector x and y first based on x and then break ties based on the associated y values.

Usage

1
xy.order(x, y, x.inc = TRUE, y.inc = FALSE)

Arguments

x

the first vector

y

the second vector

x.inc

should the first vector be sorted in increasing order?

y.inc

should the second vector be sorted in increasing order?

Value

a vector with the order


thomasWeise/regressoR.base documentation built on May 9, 2019, 8:13 p.m.