Description Usage Arguments Value Examples
Test ordering of elements
1 2 3 4 5 | isOrderBefore(orderObject, a, b, strict = T, count = F)
isOrderAfter(orderObject, a, b, strict = T)
isOrderSet(orderObject, a)
|
orderObject |
An orderObject |
a |
an element |
b |
an element |
strict |
All members of b needs to be present |
count |
How many in b is a before? |
Returns scores
1 2 3 | orderresp<-c("<'audition'; 'actor'; 'prof reading'; 'costumes'>", "<'manuscript'; 'prof reading'; 'costumes'; 'actor'>")
orderObject<-makeOrder(orderresp)
isOrderSet(orderObject,"audition")+isOrderBefore(orderObject,"audition",c("costumes", "prof reading"),count = T)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.