label | R Documentation |
assign labels
label(.Object, ...) ## S4 method for signature 'partition_bundle' label( .Object, labels = c(true = 1, false = 0), description = "Make your choice", logfile = NULL, resume = FALSE, ... )
.Object |
an object of class |
... |
Further arguments for generic method definition (unused). |
labels |
labels to assign |
description |
output |
logfile |
a logfile |
resume |
logical |
## Not run: use("polmineR.sampleCorpus") all <- partition("PLPRBTTXT", list(text_id=".*"), regex=TRUE, type="plpr") speeches <- as.speeches(all, sAttributeDates="text_date", sAttributeNames="text_name", gap=500) speechesSample <- sample(speeches, 25) df <- label(speechesSample, logfile="/Users/blaette/Lab/tmp/foo.csv") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.