seq_check | R Documentation |
For a list
of partial sequences (of vector
objects), check to see that joint elements of each occur the same order. That is, for two sequences with elements A, B, C, D, E
and B, D, F, E
, all joint elements must occur in the same order to pass the check. Two sequences A, B, C, D, E
and A, F, D, C, E
would not pass this check as the elements C
and D
occur in different orders in either sequence.
seq_check(obj)
## S3 method for class 'list'
seq_check(obj)
obj |
A |
Event names alpha
and omega
are reserved for the ultimate boundaries of the chronological framework and should not be used in naming events in sequences.
TRUE
or FALSE
x <- c("A", "B", "C", "D", "E")
y <- c("B", "D", "F", "E")
a <- list(x, y)
seq_check(a)
z <- c("B", "F", "C")
b <- list(x, y, z)
seq_check(b)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.