Description Usage Arguments Value Author(s) Examples
Provide an Allen's interval relation to classified time series data. And return a logical value if an interval is TRUE or FALSE
1 | lucC_relation_before(first_interval , second_interval)
|
first_interval |
lucC_interval. An interval between two dates. |
second_interval |
lucC_interval. An interval between two dates. |
Logical value if interval are TRUE or FALSE
Adeline M. Maciel
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | ## Not run:
library(lucC)
lucC_starting_point()
# create some examples of intervals
time1 <- lucC_interval("2011-09-01","2011-10-01")
time4 <- lucC_interval("2011-10-01","2011-11-01")
# Two interval I and J, with:
# I <- ("2011-08-15","2011-08-29")
# J <- ("2011-09-01","2011-10-01")
# end_I equals to the final value of the interval, I == "2011-08-29"
# start_I equals to the begin value of the interval, I == "2011-08-15"
# end_J equals to the final value of the interval, J == "2011-10-01"
# start_J equals to the begin value of the interval, J == "2011-09-01"
# Apply a relation 'before' (end_I < start_J)
lucC_relation_before(time1,time4)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.