shinyfy: Interactive UI For Exploring Benchmarks

Description Usage Arguments Note Examples

View source: R/shine.R

Description

Creates an interactive Shiny environment for users to browse through the `Rprof` results in tree structure.

Creates an interactive Shiny environment for users to browse through the `Rprof` results in tree structure.

Usage

1
2
3
shinyfy(x, id.start = 1L, depth = 10L)

shinyfy(x, id.start = 1L, depth = 10L)

Arguments

x

a treeprof object

id.start

integer(1L) what node to start displaying from

depth

integer(1L) how deep down the tree to start off showing

x

a treeprof object

id.start

integer(1L) what node to start displaying from

depth

integer(1L) how deep down the tree to start off showing

Note

ideally this would be implemented as an S3 method to the `shine` generic, but Shiny does not currenlty define such a method so we're stuck with this.

ideally this would be implemented as an S3 method to the `shine` generic, but Shiny does not currenlty define such a method so we're stuck with this.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Not run: 
x <- treeprof(data.frame(a=1:10, b=letters[1:10]))
shinify(x)

## End(Not run)
## Not run: 
x <- treeprof(data.frame(a=1:10, b=letters[1:10]))
shinify(x)

## End(Not run)

brodieG/treeprof documentation built on Nov. 11, 2021, 1:36 a.m.