shiny_models {shinymodels}R Documentation

Internal function to run shiny application on an object of shiny_data class

Description

This function takes the organize_data() result to shiny_models a Shiny app.

Usage

shiny_models(x, hover_cols = NULL, hover_only = NULL, ...)

## Default S3 method:
shiny_models(x, hover_cols = NULL, hover_only = NULL, ...)

## S3 method for class 'multi_cls_shiny_data'
shiny_models(x, hover_cols = NULL, hover_only = FALSE, ...)

## S3 method for class 'reg_shiny_data'
shiny_models(x, hover_cols = NULL, hover_only = FALSE, ...)

## S3 method for class 'two_cls_shiny_data'
shiny_models(x, hover_cols = NULL, hover_only = FALSE, ...)

Arguments

x

The organize_data() result.

hover_cols

The columns to display while hovering in the Shiny app. This argument can be:

  • A dplyr selector (such as dplyr::starts_with()) or a set of selector if they are enclosed with in c().

  • A character vector.

hover_only

A logical to determine if interactive highlighting of points is enabled (the default) or not. This can be helpful for very large data sets.

...

Other parameters not currently used.

Value

A shiny application.


[Package shinymodels version 0.1.1 Index]