mirror of
https://github.com/agdamsbo/FreesearchR.git
synced 2026-06-19 04:27:30 +02:00
feat: likert plot definitions
This commit is contained in:
parent
163cbffeaf
commit
18eae4b3a3
1 changed files with 14 additions and 2 deletions
|
|
@ -377,7 +377,7 @@ data_visuals_server <- function(id,
|
||||||
# showNotification(paste0(warn), type = "warning")
|
# showNotification(paste0(warn), type = "warning")
|
||||||
# },
|
# },
|
||||||
error = function(err) {
|
error = function(err) {
|
||||||
showNotification(paste0(err), type = "err")
|
showNotification(paste0(err), type = "error")
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}, ignoreInit = TRUE)
|
}, ignoreInit = TRUE)
|
||||||
|
|
@ -600,6 +600,18 @@ supported_plots <- function() {
|
||||||
secondary.max = 4,
|
secondary.max = 4,
|
||||||
tertiary.type = c("dichotomous"),
|
tertiary.type = c("dichotomous"),
|
||||||
secondary.extra = NULL
|
secondary.extra = NULL
|
||||||
|
),
|
||||||
|
plot_euler = list(
|
||||||
|
fun = "plot_likert",
|
||||||
|
descr = i18n$t("Likert diagram"),
|
||||||
|
note = i18n$t(
|
||||||
|
"Plot survey results"
|
||||||
|
),
|
||||||
|
primary.type = c("dichotomous", "categorical"),
|
||||||
|
secondary.type = c("dichotomous", "categorical"),
|
||||||
|
secondary.multi = TRUE,
|
||||||
|
tertiary.type = c("dichotomous", "categorical"),
|
||||||
|
secondary.extra = NULL
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue