View source: R/tsqca_helpers.R
| format_qca_solution | R Documentation |
Formats a complete solution expression (multiple terms joined by +).
format_qca_solution(solution, var_names, use_tilde = TRUE)
solution |
Character. A solution expression (e.g., "KSPRVT + ~KPRPRD"). |
var_names |
Character vector. Variable names used in the analysis. |
use_tilde |
Logical. If TRUE, negation is represented as |
Character. The formatted solution expression.
var_names <- c("KSP", "KPR", "PRD", "RVT", "RCM")
format_qca_solution("KSPRVT + ~KPRPRD + RCM", var_names)
# Returns: "KSP*RVT + ~KPR*PRD + RCM"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.