View source: R/GLMFittingToolGlobal.R
| run_shiny_glm_fitting_tool | R Documentation |
Opens a Shiny application that imports data from a CSV file or a database query, fits generalised linear models to it, compares the AIC of stored models, charts actual against predicted values and downloads the model and its predictions.
run_shiny_glm_fitting_tool()
The formula typed in the application, or read from one of its
settings files, is restricted to the columns of the imported data, numbers,
the formula operators and a small set of formula functions: I(),
log(), exp(), sqrt(), pmin(), pmax(),
poly(), factor(), as.factor(), interaction()
and offset(). Any other call is refused, so a settings file shared
between colleagues cannot run code.
A shiny app object. Printing it, as happens when the function is
called at the console, opens the application; it can also be passed to
shiny::runApp().
run_shiny_distribution_fitting_tool and
run_shiny_simulator, the package's other applications.
if (interactive()) {
run_shiny_glm_fitting_tool()
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.