create_select_mat: Convenience Function for Creating Selection Matrix Depending...

View source: R/create_select_mat.R

create_select_matR Documentation

Convenience Function for Creating Selection Matrix Depending on the Term

Description

Convenience Function for Creating Selection Matrix Depending on the Term

Usage

create_select_mat(term, eq)

Arguments

term,

string indicating whether you are selection for actor, behavior, or object

eq

the equation dataframe being used for analysis

Value

selection matrix to easily grab desired estimates from entire event ABO-EPA matrix see Heise, Expressive Order p. 86

Examples

eq <- get_equation(name = "us2010", type = "impressionabo", g = "average")
select_mat_a <- create_select_mat(term = "actor", eq = eq)

ekmaloney/inteRact documentation built on Feb. 20, 2023, 1:29 p.m.