These are moves for MK2+ Beta II
Forward: F
Down: D
Back: B
Up: U
| library(tidyverse) | |
| library(gt) | |
| # create data | |
| df <- data.frame( | |
| stringsAsFactors = FALSE, | |
| player = c("Evan Mobley", | |
| "Sandro Mamukelashvili","Charles Bassey","Luka Garza", | |
| "Moses Wright","Neeimisa Queta", | |
| "Isaiah Jackson","Day'Ron Sharpe"), |
| # Launch a Shiny app with your ggplot object, zoom control added: gg_zoom(g) | |
| # Shiny brush event always return numerical values for the zoom box. If the x or y axis is in date, date-time, the zoom box coordinates need to be converted before taken by ggplot. | |
| # https://github.com/hadley/scales/blob/38f81a7b79d98c06edd7d0b624c77b7834db508f/R/trans-date.r | |
| # this will convert date, datetime axes automatically, though it need lubridate to work because the base R equivalent are more cumbersome to use. | |
| library(shiny) | |
| library(ggplot2) | |
| library(lubridate) | |
| ui <- fluidPage( |