shiny_models: Internal function to run shiny application on an object of...

Description Usage Arguments Value

View source: R/shiny_models.R

Description

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

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
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.

original_data

Original dataset.

Value

A shiny application.


shinymodels documentation built on Nov. 18, 2021, 1:12 a.m.