Description Usage Arguments Value Author(s) Examples
Counts and prints instances of an sform in a statslist.
1 | count.sform(evls, sform, new.name)
|
evls |
An eventlist with eventlist attribute “char”, as well as element “event.key”. |
sform |
An sform regular expression using the |
new.name |
Logical. Should count.sform guess at a descriptive name for the sform?. Default is TRUE. |
A list containing:
list |
A list of length |
Christopher Steven Marcum
1 2 3 4 5 6 7 8 9 10 11 | rawevents<-sample(rep(c("ran","eat","stay","eat","ran","play"),100))
actors<-rep(c("Jim","Bill","Pete"),10)
eventlist<-cbind(rawevents,actors)
evls<-gen.evl(eventlist)
sform<-"ab"
count.sform(evls,sform)
count.sform(evls,sform)$Bill
#Compare with
count.sform(evls,sform,new.name=FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.