switch.dating {datplot}R 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()]


[Package datplot version 1.1.1 Index]