orderrows: Order rows by one or more columns

View source: R/primitives.R

orderrowsR Documentation

Order rows by one or more columns

Description

Order rows by one or more columns

Usage

orderrows(data, by, decreasing = FALSE, na.last = TRUE)

Arguments

data

A data.frame.

by

Character vector of column names identifying groups or join keys.

decreasing

Sort in decreasing order.

na.last

Placement of missing values when sorting.

Value

data sorted by by.


basetable documentation built on Sept. 18, 2026, 9:13 a.m.