Sort method for S4 objects of class klausuR

Description

Returns the given object, with global results and anonymized results sorted by the given variable.

Usage

1
2
3
4
sort(x, decreasing = FALSE, ...)

## S4 method for signature 'klausuR'
sort(x, decreasing = FALSE, sort.by = c())

Arguments

x

An object of class klausuR

decreasing

Logical, whether sorting should be sone increasing or decreasing.

...

Additional arguments.

sort.by

An optional character string naming a variable to sort the results by. Defaults to c(), i.e. no re-ordering.

Author(s)

m.eik michalke meik.michalke@uni-duesseldorf.de

See Also

klausur

Examples

1
2
3
4
5
## Not run: 
klsr.obj <- klausur(data.obj)
sort(klsr.obj, sort.by="Points")

## End(Not run)