Description Usage Arguments Examples
Shiny bindings for HARviewer
1 2 3 | HARviewerOutput(outputId, width = "100%", height = "400px")
renderHARviewer(expr, env = parent.frame(), quoted = FALSE)
|
outputId |
output variable to read from |
width, height |
Must be a valid CSS unit (like |
expr |
An expression that generates a |
env |
The environment in which to evaluate |
quoted |
Is |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | ## Not run:
library(shiny)
library(HARtools)
har <- readHAR(system.file(package = "HARtools", "exdata",
"r-project.org.161028_W2_11MA.har"))
hv <- HARviewer(har)
shinyApp(
ui = fluidPage(
HARviewerOutput("myHAR")
),
server = function(input, output) {
output$myHAR <- renderHARviewer(hv)
}
)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.