label: assign labels

labelR Documentation

assign labels

Description

assign labels

Usage

label(.Object, ...)

## S4 method for signature 'partition_bundle'
label(
  .Object,
  labels = c(true = 1, false = 0),
  description = "Make your choice",
  logfile = NULL,
  resume = FALSE,
  ...
)

Arguments

.Object

an object of class partition_bundle

...

Further arguments for generic method definition (unused).

labels

labels to assign

description

output

logfile

a logfile

resume

logical

Examples

## 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) 

PolMine/polmineR.misc documentation built on Nov. 23, 2022, 9:01 p.m.