This function visualizes the skip logic of a questionnaire based on the skip logic rules defined in a JSON file. It creates a directed graph showing the flow of questions and their skip patterns.
visualize_quex(path = NULL, file = NULL, responses = NULL)
A character string specifying the path to the JSON file containing skip logic rules. Default is NULL.
A character string specifying the file name to save the graph visualization (.pdf, .svg, .png). Default is NULL.
A dataframe from the output of get_inr and the 'responses' dataframe from the list output. Default is NULL.
A graph object visualizing the skip logic of the questionnaire.
if (FALSE) { # \dontrun{
# Example usage:
visualize_quex(path = "path/to/your/skiplogic.json", file = "skip_logic_graph.png")
} # }