View source: R/format_questions.R
extract_type_orientation | R Documentation |
This function takes a string representing a question type and its optional orientation
(e.g., "ordering<|>h"
) and splits it into two separate components: the type and
the orientation. If the orientation is not provided, it defaults to "v"
.
extract_type_orientation(type)
type |
A character string indicating the type of a question, which may optionally
include an orientation separated by |
A list with two elements:
The main question type as a character string.
The orientation of the type as a character string. Defaults to "v"
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.