Description Usage Arguments Value Author(s) Examples
Create edgelist from forest (result of makeforest
).
1 | createedges(forest,subjectfilter,contentfilter,lv)
|
forest |
A matrix with five colums. Result of |
subjectfilter |
A regular expression. An edgelist of all people who used |
contentfilter |
A regular expression. An edgelist of all people who used |
lv |
What line values should represent.
|
A matrix with a maximum of six columns. First column contains author of the mail. Second column contains an author of a mail written before. Third column contains the line value. Forth column contains the thread ID of the thread in which the e-mail was sent. Fifth column contains the subject. Sixth column contains the content.
Angela Bohn angela.bohn at gmail.com
1 2 3 4 5 6 7 8 9 | forest <- rbind(
c(1,1,"PersonA","[R] Question on rhelp","Hello, I have a question...")
,c(2,1,"PersonB","[R] Question on rhelp","This is the answer")
,c(3,2,"PersonC","[R] Question on rdevel","Dear all,...")
,c(4,2,"PersonD","[R] Question on rdevel","Answer")
)
colnames(forest) <- c("EMailID","ThreadID","Author","Subject","Content")
createedges(forest,subjectfilter="rhelp")
createedges(forest,contentfilter="[A|a]nswer")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.