map_to_visualisation: map to visualisation

Description Usage Arguments Value Examples

View source: R/mappings.R

Description

selects an appropriate visualisation function based on the analysis case

Usage

1

Arguments

result

a result object containing the summary statistics and hypothesis tests for the case.

Value

a _function_ that creates the relevant ggplot object

Examples

1
2
3
4
5
6
## Not run: map_to_visualisation("result_var1")
## Not run: result_var1<- map_to_result( ... )
my_vis_fun <- map_to_visualisation(result_var1)
my_ggplot_obj<-my_vis_fun( ... )
my_ggplot_obj # plots the object
## End(Not run)

mabafaba/hypegrammaR documentation built on Oct. 2, 2019, 11:33 a.m.