Learn R Programming

teachingApps (version 1.0.8)

gadget_lm: Function Title

Description

Description

Usage

gadget_lm(
  data,
  xvar,
  yvar,
  theme = "flatly",
  width = "100%",
  css = NULL,
  height = "600px",
  ...
)

Arguments

data

A data.frame object

xvar

Column title (as a character-string) from data to display on the x-axis

yvar

Column title (as a character-string) from data to display on the y-axis

theme

character string naming a color theme bootswatch color theme. Must be one of the themes that can be used in shinythemes::shinytheme()

width

Width of the printed app.

css

Path to a custom css file. If NULL the default css file is used

height

Height of the printed app.

...

Additional options passed to shiny::shinyAppDir()