0
ドロップダウンがsidebarPanel - location
にあり、そこから最大2つのオプションを選択できます。ドロップダウンから 'サドルジョイント'と 'グライディングジョイント'をインチェイスして、別のsidebarPanel - datasets
でオブジェクト 'x'と 'y'を選択するifループを作成したいと思います。基本的にリンケージを作成します。SelectizeInput関数のためのサイドバーパネルを光沢のあるものにリンクする
私は、コードのこの部分を試してみましたが、それは動作しません:
if (input$location== "Saddle Joint" & input$location== "Gliding Joint") {
updateCheckboxGroupInput(session,
"datasets", "Datasets:", choices = c("x","y"),
selected= c("x","y"))
}
より良い映像のためのスクリーンショットを見てください!
ありがとうございます!
さて、あなたの文は同時に '入力の$ location'ができない等しいハメ合同とグライディング合同以来、真なることはありません場合。 'input $ location'が複数の値を持つベクトルであれば、' '中括弧 '%を入力したい$ location&" "%in%input $ location" – Carl
@Carl that works!ありがとうございました! – Harriss
[OK]をクリックし、回答を提出します。 – Carl