% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/affiliation.R
\name{get_aff}
\alias{get_aff}
\title{Compute affiliation scores}
\usage{
get_aff(own_entity, text, bootstrap = FALSE, B = 1000)
}
\arguments{
\item{own_entity}{A character vector of entity names representing the
speaker's own country or group.}

\item{text}{A character string containing the speech text to analyse.}

\item{bootstrap}{Logical; if \code{TRUE}, return bootstrapped mean and
variance estimates. Default is \code{FALSE}.}

\item{B}{Integer; number of bootstrap replicates. Default is 1000.}
}
\value{
A one-row \code{\link[tibble]{tibble}}. When \code{bootstrap = FALSE},
columns are \code{A} and \code{OA}. When \code{bootstrap = TRUE}, columns
are \code{meanA}, \code{meanOA}, \code{varA}, \code{varOA}.
}
\description{
Measures the affiliation orientation of a leader's speech by classifying
verb-level actions as affiliative (A) or other-affiliative (OA) based on
the speaker's own-entity references and sentence-level context.
}
