hypothesisOnOff {hypothesis}R Documentation

Turn On/Off Annotations Feature

Description

Generates button that allows to turn on and turn off annotations tool.

Usage

hypothesisOnOff(
  initShow = TRUE,
  labelShow = "Enable Annotations",
  labelHide = "Disable Annotations"
)

Arguments

initShow

Define initial state of annotations. When FALSE, annotations are turned off.

labelShow, labelHide

Label to be shown in the button when annotations are hidden and shown respectively.

Value

A 'button' shiny.tag object, responsible for enabling/disabling of the package functionality.


[Package hypothesis version 1.1.0 Index]