uniqueVarWithOrder: Get unique variables with meaningful order.

View source: R/summaryTable-combine.R

uniqueVarWithOrderR Documentation

Get unique variables with meaningful order.

Description

The following framework is followed:

  1. get the unique elements in the vectors

  2. for each of this element: get the average order across the different vectors

  3. put variable, if present as second to last element

  4. put variableGroup, if present, as last element

  5. order the unique elements based on the extracted order

Usage

uniqueVarWithOrder(...)

Arguments

...

Lists

Value

Vector with unique and ordered elements.

Author(s)

Laure Cougnaud


inTextSummaryTable documentation built on June 22, 2024, 9:24 a.m.