lucC_relation_during: Allen Relation During

Description Usage Arguments Value Author(s) Examples

View source: R/lucC_allen_relations.r

Description

Provide an Allen's interval relation to classified time series data. And return a logical value if an interval is TRUE or FALSE

Usage

1
lucC_relation_during(first_interval , second_interval)

Arguments

first_interval

lucC_interval. An interval between two dates.

second_interval

lucC_interval. An interval between two dates.

Value

Logical value if interval are TRUE or FALSE

Author(s)

Adeline M. Maciel

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
## Not run: 

library(lucC)

lucC_starting_point()

# create some examples of intervals
time7 <- lucC_interval("2011-08-01","2011-09-15")
time8 <- lucC_interval("2011-08-15","2011-08-29")

# Apply a relation 'during' (start_I > start_J) & (end_I < end_J))
lucC_relation_during(time8,time7)
           

## End(Not run)

ammaciel/lucC documentation built on Oct. 7, 2017, 2:56 p.m.