Skip to contents
library(FreesearchR)
#> 
#> Attaching package: 'FreesearchR'
#> The following object is masked from 'package:base':
#> 
#>     sort_by
i18n_path <- system.file("translations", package = "FreesearchR")
i18n <- shiny.i18n::Translator$new(translation_csvs_path = i18n_path)
#> Warning in load_local_config(translation_csv_config): You didn't specify config
#> translation yaml file. Default settings are used.
i18n$set_translation_language("en")

Basic visualisations

The goal of FreesearchR is to keep things simple. Visuals can get very complicated. We provide a selection of plots, that helps visualise typical clinical and will be enough for most use cases, and for publishing to most journals.

If you want to go further, have a look at these sites with suggestions and sample code for data plotting:

Available plots

Below are the available plot types listed.

Data type Plot type Description
continuous Violin plot A modern alternative to the classic boxplot to visualise data distribution
continuous Scatter plot A classic way of showing the association between to variables
continuous Box plot A classic way to plot data distribution by groups
dichotomous Stacked horizontal bars A classical way of visualising the distribution of an ordinal scale like the modified Ranking Scale and known as Grotta bars
dichotomous Violin plot A modern alternative to the classic boxplot to visualise data distribution
dichotomous Sankey plot A way of visualising change between groups
dichotomous Box plot A classic way to plot data distribution by groups
dichotomous Euler diagram Generate area-proportional Euler diagrams to display set relationships
categorical Stacked horizontal bars A classical way of visualising the distribution of an ordinal scale like the modified Ranking Scale and known as Grotta bars
categorical Violin plot A modern alternative to the classic boxplot to visualise data distribution
categorical Sankey plot A way of visualising change between groups
categorical Box plot A classic way to plot data distribution by groups
categorical Euler diagram Generate area-proportional Euler diagrams to display set relationships