orderedDataFrame: Helper function to order data frame by two columns (col1,...

Description Usage Arguments Value

View source: R/comparison.R

Description

Helper function to order data frame by two columns (col1, col2)

Usage

1
orderedDataFrame(df, col1 = "Name", col2 = "TIME_day")

Arguments

df

data.frame

col1

first column to be used for ordering (Default: Name)

col2

second column to be used for ordering (Default: TIME_day)

...

further arguments passed to function order(), e.g. decreasing = TRUE

Value

ordered (default: accending) data.frame according to col1 & col2


KWB-R/kwb.demeau documentation built on Sept. 10, 2019, 12:19 p.m.