Description Usage Arguments Details
This function builds a shiny
application in the specified directory
that gives the maximum credible level at an entered covariate point.
1 2 3 4 5 6 7 8 | build.shiny.calc(
credsubs.level,
cov.space,
name = "calc",
dir = ".",
title = "Credible Subsets Calculator",
instructions = "Select a covariate point."
)
|
credsubs.level |
An object of class |
cov.space |
A data frame whose rows are human-readable
covariate points corresponding to the entries
of |
name |
A character string indicating the name of the application. |
dir |
The directory in which to place the application. |
title |
A character string to be displayed as the application title. |
instructions |
A character string to be displayed as instructions. HTML allowed. |
The calculator creates a subdirectory according to name
in
the directory specified by dir
, and places in it files
server.R
, ui.R
, and config.RData
. This application
requires the shiny
package to run, and can be executed by passing
the directory path to run.shiny.calc()
. The produced application
directory may be moved from its original location.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.