Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

sortBy.GenericDataFileSet

Sorts the set


Description

Sorts the set by one of several ordering schema.

Usage

## S3 method for class 'GenericDataFileSet'
sortBy(this, by=c("lexicographic", "mixedsort", "mixeddecimal", "mixedroman",
  "filesize"), decreasing=FALSE, caseSensitive=FALSE, ...)

Arguments

by

A character string specifying the ordering scheme.

decreasing

If TRUE the sorting is done in a decreasing manner.

caseSensitive

If TRUE, the ordering is case sensitive, otherwise not.

...

Not used.

Details

The set is ordering by the fullnames. If by="lexicographic", lexicographic ordering is used, sometimes also referred to as alphabetic ordering. If by="mixeddecimal", mixedsort ordering acknowledging decimal numbers is used, cf. mixedsort. If by="mixedroman", mixedsort ordering acknowledging roman numerals is used, cf. mixedsort.

Value

Returns returns itself with the set ordered accordingly.

Author(s)

Henrik Bengtsson

See Also

For more information see GenericDataFileSet.


R.filesets

Easy Handling of and Access to Files Organized in Structured Directories

v2.14.0
LGPL (>= 2.1)
Authors
Henrik Bengtsson [aut, cre, cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.