build.shiny.calc: Build a credible subset calculator

Description Usage Arguments Details

View source: R/credsubs.R

Description

This function builds a shiny application in the specified directory that gives the maximum credible level at an entered covariate point.

Usage

1
2
3
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 credsubs.level.

cov.space

A data frame whose rows are human-readable covariate points corresponding to the entries of credsubs.level$level.

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.


schnellp/credsubs documentation built on Sept. 8, 2020, 5:30 a.m.