Description Usage Arguments Value See Also Examples
Add a text input to a manipulateWidget gadget
1 |
value |
Initial value of the text input. |
label |
Display label for the control. If |
... |
Other arguments passed to function |
.display |
expression that evaluates to TRUE or FALSE, indicating when the input control should be shown/hidden. |
A function that will generate the input control.
Other controls:
mwCheckboxGroup()
,
mwCheckbox()
,
mwDateRange()
,
mwDate()
,
mwGroup()
,
mwNumeric()
,
mwPassword()
,
mwRadio()
,
mwSelectize()
,
mwSelect()
,
mwSharedValue()
,
mwSlider()
1 2 3 4 5 6 7 8 9 | if (require(plotly)) {
mydata <- data.frame(x = 1:100, y = rnorm(100))
manipulateWidget({
plot_ly(mydata, x=~x, y=~y, type = "scatter", mode = "markers") %>%
layout(title = mytitle)
},
mytitle = mwText("Awesome title !")
)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.