quest | R Documentation |
Qualitative/Unified Exploration of State Transitions
quest(
x,
rawClassIdentifierCol = "state_raw",
labelFun = base::round,
labelFunArgs = list(digits = 2)
)
x |
A parsed source document as provided by |
rawClassIdentifierCol |
The identifier of the column in |
labelFun |
A function to apply to the edge labels in preprocessing. |
labelFunArgs |
Arguments to specify to |
A DiagrammeR::grViz()
object, which will print to show the
QUEST graph.
### Get path to example source
examplePath <-
system.file("extdata", package="rock");
### Get a path to one example file
exampleFile <-
file.path(examplePath, "state-example-1.rock");
### Parse single example source
parsedExample <- rock::parse_source(exampleFile);
### Show a QUEST graph
rock::quest(
parsedExample
);
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.