knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)
library(sortable)

Creating an app

This example demonstrates how to use custom sortable widgets with any shiny object.

library(htmltools)
tags$div(
  class = "shiny-app-frame",
  tags$iframe(
    src = "https://andrie-de-vries.shinyapps.io/sortable_drag_vars_to_plot_app/",
    width = 800,
    height = 700
  )
)

Source code

knitr::read_chunk(
  system.file("shiny-examples/drag_vars_to_plot/app.R", package = "sortable")
)



timelyportfolio/sortableR documentation built on April 5, 2024, 9:21 a.m.