ModelOriented / shimex

R Package for Exploring Models with Shiny App
2 stars 2 forks source link

would it be possible to control the order of controls? #9

Closed pbiecek closed 5 years ago

pbiecek commented 5 years ago

for titanic dataset, I would like to have selectInput for country and then for gender (now it's alfabetical)

monikachudek commented 5 years ago

There has been created new parameter input order that enables ordering of displayed input.

monikachudek commented 5 years ago

@pbiecek,

I am working on the solution that we discussed (using renderUI). And there is a question - What values should be used for variables that are not displayed in the input list? So far it has been the value of the first observation, which doesn't make much sense. Whether an argument 'new_obs' should be required? Then the non-displayed variables would have the given values.

pbiecek commented 5 years ago

Yes, I think that the best option is to force use to set the new_obs argument, then defaults will be extracted from this observation.

monikachudek commented 5 years ago

done

pbiecek commented 5 years ago

thanks, it's working