Skip to contents

Classifies verbs in text as reflecting Power (P) or Other Power (OP) based on the Leadership Trait Analysis codebook.

Usage

get_power(own_entity, text, bootstrap = FALSE, B = 1000)

Arguments

own_entity

Character vector of the speaker's country/entity name(s).

text

Character string of the speech text to analyse.

bootstrap

Logical; if TRUE, return bootstrap means and variances.

B

Number of bootstrap replications (default 1000).

Value

A tibble with columns P and OP (or meanP, meanOP, varP, varOP if bootstrap = TRUE).