getPathShiny: Choose a path in a graph from an interactive shiny app

Description Usage Arguments Value See Also Examples

View source: R/graphic_function.R

Description

Choose a path in a graph from an interactive shiny app with the rigth format for simPATHy function.

Usage

1
getPathShiny(graph)

Arguments

graph

A graphNEL object.

Value

Selected path with the right format for simPATHy function.

See Also

simPATHy

Examples

1
2
3
4
5
6
 if(require(gRbase)){
  graph <- gRbase::dag(~c:a, ~c:b, ~d:c, ~e:d)

  # Launch the interactive plot
  # path <- getPathShiny(graph)
 }

simPATHy documentation built on Nov. 23, 2021, 5:07 p.m.