i_sort_labels {ilabelled}R Documentation

sort value labels by values or by labels

Description

sort value labels by values or by labels

Usage

i_sort_labels(x, by = "values", decreasing = FALSE)

Arguments

x

vector or data.frame

by

either values or labels

decreasing

sort decreasing

Value

Returns x with sorted value labels


[Package ilabelled version 0.9.0 Index]