magclass (version 6.13.2)

is.temporal: is.temporal, is.spatial

Description

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)

Value

Returns TRUE or FALSE

Arguments

x

A vector

Author

Jan Philipp Dietrich

Examples

Run this code

is.temporal(1991:1993)
is.spatial(c("GLO","AFR"))

Run the code above in your browser using DataLab