magclass (version 4.107.0)

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)

Arguments

x

A vector

Value

Returns TRUE or FALSE

Examples

Run this code
# NOT RUN {
is.temporal(1991:1993)
is.spatial(c("GLO","AFR"))

# }

Run the code above in your browser using DataCamp Workspace