Skip to contents

The main function you will use

You use this function with the type-argument to create most things you’ll need.

makeme()
Embed Interactive Plot of Various Kinds Using Tidyselect Syntax

Get, set and reset global options

Global options allow you to easily set defaults for all your makeme function calls, so you basically do not need to specify the same arguments throughout. data, dep and indep will still need to be specified.

global_settings_get()
Get Global Options for saros-functions
global_settings_set()
Get Global Options for saros-functions
global_settings_reset()
Reset Global Options for saros-functions

Gets the possible data_label and type options for the makeme()-arguments

get_data_label_opts()
Get Valid Data Labels for Figures and Tables
get_makeme_types()
Get all registered options for the type-argument in the makeme-function
make_link()
Save data to a file and return a Markdown link
ggsaver()
Wrapper Function for ggplot2::ggsave()

Compute optimal figure heights for the built-in cat_plot

fig_height_h_barchart()
Estimate figure height for a horizontal bar chart
fig_height_h_barchart2()
Estimate figure height for a horizontal bar chart

Obtain sample size range for a makeme-object (experimental)

n_range()
Provides a range (or single value) for N in data, given dep and indep
n_range2()
Provides a range (or single value) for N in a ggplot2-object from makeme()

Only relevant when expanding the S3 system with your own functions

make_content()
Method for Creating Saros Contents

Example dataset

ex_survey
ex_survey: Mockup dataset of a survey.