-
Notifications
You must be signed in to change notification settings - Fork 2
Presence
Nils Reiter edited this page Nov 8, 2017
·
3 revisions
This guide is also available as a vignette in the R console: vignette(Presence)
.
data("rksp.0")
data("vndf.0")
texts <- rbind(rksp.0$mtext, vndf.0$mtext)
pres <- list()
pres[[1]] <- presence(texts[drama=="rksp.0",])
#pres[[2]] <- presence(texts[drama=="vndf.0",])
par(xpd=TRUE)
for (p in pres) {
plot(p$active/p$scenes, p$passive/p$scenes, frame.plot = FALSE, xlim=c(0,1), ylim=c(0,1), xlab="Active", ylab="Passive")
text(p$active/p$scenes, p$passive/p$scenes, labels=substr(p$figure,0,20), pos=3)
}