isOrderBefore: Test ordering of elements

Description Usage Arguments Value Examples

View source: R/order.R

Description

Test ordering of elements

Usage

1
2
3
4
5
isOrderBefore(orderObject, a, b, strict = T, count = F)

isOrderAfter(orderObject, a, b, strict = T)

isOrderSet(orderObject, a)

Arguments

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?

Value

Returns scores

Examples

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)

openPCI/OpenPCIScoring documentation built on June 10, 2021, 1:18 p.m.