How to make factor level dynamic input field in shiny dashboard
0
0
Entering edit mode
3.7 years ago
majeedmj.ict ▴ 20

sample type gender

sample1 group1 Male

sample2 group1 Female

sample3 group1 Male

sample4 group2 Female

sample5 group2 Female

Suppose user have uploaded above csv file and data stored as reactive object - metadata() . how can we create three selectinput fileds variable , condition1 and condition2 in dashboard,

such that varible filed show type and gender.

condition1 and condition2 fields show ; group1 and group2 (means all the levels of type) ; if user selects variable as type.

similarly condition1 and condition2 fields show ; Male and Female (means all the levels of gender) ; if user selects variable as gender.

please help

flexdashboard shinydashboard shiny • 849 views
ADD COMMENT
0
Entering edit mode

I recommend that you post this on the RStudio Shiny community: https://shiny.rstudio.com/articles/help.html

I would also recommend that you add more information to your question (where have you explained what is condition and how it relates to the data that you have pasted?), and include fully reproducible code that you have already tried.

ADD REPLY

Login before adding your answer.

Traffic: 1817 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6