sort_by: sorts a data frame

Description Usage Arguments

View source: R/misc_util.r

Description

sorts a data frame

Usage

1
sort_by(.df, .expr, .desc = FALSE)

Arguments

.df

a data frame

.expr

what to sort by; can be in terms of columns of '.df'

.desc

logical; if true, sorts by descending order (otherwise ascending)


Christopher-Peterson/macroStan documentation built on Oct. 30, 2019, 5:42 a.m.