View source: R/extract_terms.R
extract_terms | R Documentation |
Convenience internal function
extract_terms(elem, eq, t_imp)
elem |
string either actor, behavior, or object |
eq |
equation |
t_imp |
the dataframe containing the result of the transient impression from the event |
29 x 29 matrix with desired terms extracted
eq <- get_equation(name = "us2010", type = "impressionabo", g = "average") d <- tibble::tibble(actor_modifier = "tired", actor = "ceo", behavior = "advise", object = "benefactor") d <- reshape_events_df(df = d, df_format = "wide", dictionary_key = "usfullsurveyor2015", dictionary_gender = "average") ti <- transient_impression(d = d, equation_key = "us2010", equation_gender = "average") terms_matrix <- extract_terms(elem = "actor", eq = eq, t_imp = ti)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.