switch.dating: Switch values where dating is in wrong order (internal)

View source: R/datplot_utility.R

switch.datingR Documentation

Switch values where dating is in wrong order (internal)

Description

Requires a data.frame with 2 numeric variables in the 3rd and 4th column: minimum date (int/numeric) and maximum date (int/numeric) as used in [datsteps()].

Usage

switch.dating(DAT_df)

Arguments

DAT_df

a data.frame with 4 variables in this order: ID, group, minimum date (int/num), maximum date (int/num)

Value

The same data.frame with the dating values which were in wrong order switched.

See Also

[datsteps()]


datplot documentation built on Nov. 19, 2023, 1:09 a.m.