| orm_autodim | R Documentation |
orm_autodim() automatically discovers the most relevant contextual
dimensions of a corpus using two complementary modes:
Mode 1: Dictionary blocks (default, method = "blocks")
Uses the normative blocks of the ORISMA dictionary (A-Safety, B-Hygiene,
C-Ergonomics, D-Psychosociology, E-Biological, F-Emerging) as dimensions.
Computes a block x block co-occurrence matrix showing how many studies
address combinations of risk blocks simultaneously. Works for any corpus
without any configuration.
Mode 2: Free text (method = "text")
Extracts discriminant terms from abstracts using TF-IDF-like filtering.
Useful for discovering domain-specific dimensions not covered by the
dictionary (e.g. specific materials, sectors, tasks).
orm_autodim(
mx,
method = "blocks",
text_col = "abstract",
n_dims = 12L,
min_freq = 3L,
max_doc_pct = 0.35,
min_cooccur = 0.5,
fuzzy_sim = 0.85,
stopwords = NULL,
lang = getOption("orisma.lang", "en"),
verbose = getOption("orisma.verbose", TRUE)
)
mx |
An |
method |
Character. |
text_col |
Character. Text field for |
n_dims |
Integer. Max dimensions for |
min_freq |
Integer. Min document frequency for |
max_doc_pct |
Numeric (0-1). Max document proportion for |
min_cooccur |
Numeric (0-1). Min co-occurrence with a risk. Default |
fuzzy_sim |
Numeric (0-1). Fuzzy grouping threshold. Default |
stopwords |
Character vector. Extra stopwords for |
lang |
Character. |
verbose |
Logical. |
A list (class orisma_dims) ready for orm_dim_matrix().
orm_dim_matrix()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.