swipeR-shiny {swipeR}R Documentation

Shiny bindings for swipeR carousels

Description

Output and render functions for using swipeR within Shiny applications.

Usage

swipeROutput(outputId, width = "100%", height = "400px")

renderSwipeR(expr, env = parent.frame(), quoted = FALSE)

Arguments

outputId

output variable to read from

width, height

must be a valid CSS unit (like "100%", "400px", "auto") or a number, which will be coerced to a string and have "px" appended

expr

an expression that generates a swipeR carousel

env

the environment in which to evaluate expr

quoted

Boolean, whether expr is a quoted expression (with quote()); this is useful if you want to save an expression in a variable

Value

swipeROutput returns an output element that can be included in a Shiny UI, and renderSwipeR returns a shiny.render.function object that can be assigned to an output slot in a Shiny server.


[Package swipeR version 1.1.0 Index]