View source: R/plot_question.R
plot_question | R Documentation |
Plot question
plot_question( data = construct_data(p = 17), str_question = "neg_mind", str_patient = "1", plotly = TRUE )
data |
tibble returned from construct_data(p = 17) |
str_question |
string specifying which question to plot ("neg_mind", "pos_mind", "old_strategy" or "new_strategy") |
str_patient |
string specifying which patient (= Deltager) to extract "1", "2", ..., "10", "Gennemsnit" or "Alle") |
plotly |
logical indicating if plotly or ggplotly shoud be returned |
plotly object
data <- construct_data(p = 17) plot_question(data = data, str_question = "neg_mind")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.