Convenience Function for Creating Selection Matrix Depending on the Term

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)