Skip to content

Functions to find out whether a vector consists of strings consistent with the definition for auto-detection of temporal or spatial data.

Usage

is.temporal(x)

Arguments

x

A vector

Value

Returns TRUE or FALSE

Author

Jan Philipp Dietrich

Examples


is.temporal(1991:1993)
#> [1] TRUE
is.spatial(c("GLO", "AFR"))
#> [1] TRUE