sort | R Documentation |
To sort the quality reports on one or several variables
## S3 method for class 'QR_matrix'
sort(x, decreasing = FALSE, sort_variables = "score", ...)
## S3 method for class 'mQR_matrix'
sort(x, decreasing = FALSE, sort_variables = "score", ...)
x |
a |
decreasing |
logical indicating whether the quality reports must be sorted in ascending or decreasing order. By default, the sorting is done in ascending order. |
sort_variables |
They must be present in the modalities table. |
... |
other parameters of the function |
the input with sorted quality reports
Traduction française
Other QR_matrix functions:
export_xlsx.QR_matrix()
,
export_xlsx.mQR_matrix()
,
export_xlsx()
,
extract_QR()
,
rbind.QR_matrix()
,
weighted_score()
## Not run:
QR <- compute_score(extract_QR())
sort(QR, sort_variables = "score") # To sort by ascending values of the score
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.