order_variables: Order the variables in a *c14_date_list*

View source: R/c14_date_list_order_variables.R

order_variablesR Documentation

Order the variables in a c14_date_list

Description

Arrange variables according to a defined order. This makes sure that a c14_date_list always appears with the same outline.
A c14_date_list has at least the columns c14age and c14std. Beyond that there's a selection of additional variables depending on the input from the source databases, as a result of the c14bazAAR functions or added by other data analysis steps. This function arranges the expected variables in a distinct, predefined order. Undefined variables are added at the end.

Usage

order_variables(x)

## Default S3 method:
order_variables(x)

## S3 method for class 'c14_date_list'
order_variables(x)

Arguments

x

an object of class c14_date_list

Value

an object of class c14_date_list


ISAAKiel/c14bazAAR documentation built on Feb. 6, 2024, 3:18 a.m.