Get the state transition table
Arguments
- x
A parsed source document as provided by
parse_source()
.- rawClassIdentifierCol
The identifier of the column in
x
's QDT with the raw class codings of the class that has the states to look at.
Examples
### 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);
#> Error in rock::parse_source(exampleFile): object 'notes' not found
### Show the state transition probabilities
rock::get_state_transition_table(
parsedExample
);
#> Error: object 'parsedExample' not found