View source: R/shiny_rdf_spec_curve.R
shiny_rdf_spec_curve | R Documentation |
A shiny based web app that allows you to explore your researcher degrees of freedom's specification curve interactively.
shiny_rdf_spec_curve(
ests,
spec_curve_parms,
spec_curve_selected = NULL,
design = NULL,
rel_dir = NULL,
start_input = NULL,
libs = NULL,
add_files = NULL,
regression_cutoff = 5,
model_render_func = NULL,
default_choices = NULL,
restore_button = FALSE,
title = "A Shiny Specification Curve",
abstract = NULL,
choice_labels = NULL,
with_spinner = FALSE,
spinner_options = list()
)
ests |
The data frame provided by |
spec_curve_parms |
A list containing additional parameters that will be
passed on to |
spec_curve_selected |
If you provide a named list of specification
curves in |
design |
if not |
rel_dir |
The path to the code directory where the design functions are located. Only needed when the functions are loaded to your current environment See above. |
start_input |
The parameters that you pass to the first design step. See above. |
libs |
A vector containing additional packages that need to be attached
to run the design. NOTE: This will modify the shiny app code to include
literal |
add_files |
A character vector containing relative paths to files and directories that you want to bundle with the shiny app. The files will be copied to the temporary directory that hosts the shiny app and directories will be copied recursively. |
regression_cutoff |
If your choices generate less or equal estimates,
the display will switch to normal regression table output (needs parameters
above to be not |
model_render_func |
A function to create the regression table,
taking a list of the models as parameter. The function is evaluated within
the shiny app environment. By default ( |
default_choices |
A list containing choices that you want
the app to start with. If |
restore_button |
Set to |
title |
The title of the shiny app. |
abstract |
Text that will be displayed by the app. Wrapped
into |
choice_labels |
Character vector containing the labels that will be used
to label the select list input controls in the shiny app. If |
with_spinner |
Do you want to include a spinner (useful when displays
take some time to render). Defaults to |
spinner_options |
A list containing parameters that you want to
to pass to |
## Not run:
print("Sorry. No examples yet.")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.