是否有一种方法可以使表根据选择进行交互。例如,在下面的代码中,“仅当从过滤器中选择A时,才应显示“参数”标签”。可以使用此功能吗?...........................
---
title: "Untitled"
output:
flexdashboard::flex_dashboard:
orientation: rows
vertical_layout: scroll
runtime: shiny
---
```{r setup, include=FALSE}
library(flexdashboard)
library(shiny)
```
```{r}
```
Summary
=================
Inputs {.sidebar}
-----------------------------------------------------------------------
```{r}
selectInput("S","S1",choices = c("A","B"),selected = "B")
```
Column {data-width=300}
-----------------------------------------------------------------------
### Chart A
```{r}
```
Row {.tabset .tabset-fade}
-----------------------------------------------------------------------
### Performance {data-height=2000}
```{r}
```
### Parameters {data-height=1000}
```{r}
```