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 Sept. 12, 2023, 5:06 p.m.