| build.shiny.calc {credsubs} | R Documentation |
Build a credible subset calculator
Description
This function builds a shiny application in the specified directory
that gives the maximum credible level at an entered covariate point.
Usage
build.shiny.calc(
credsubs.level,
cov.space,
name = "calc",
dir = ".",
title = "Credible Subsets Calculator",
instructions = "Select a covariate point."
)
Arguments
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. |
Details
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.