ProjectMOSAIC / mosaicModel

Utilities for creating, visualizing, and predicting with models
Other
2 stars 1 forks source link

modPlot data= doesn't work in Shiny #9

Open dtkaplan opened 6 years ago

dtkaplan commented 6 years ago

You can't successfully pass an argument like "data = getdata()" where getdata() is a reactive producing a data frame. Not an insurmountable problem, since you can always write:

this_data <- getdata() # create data frame reactively
this_model <- getmodel() # another reactive
mod_plot(this_model, data = this_data)
rpruim commented 6 years ago

@dtkaplan, is this still an issue?