plot.transition {PAutilities} | R Documentation |
Plot the transitions and matchings from a transition
object
Description
Plot the transitions and matchings from a transition
object
Usage
## S3 method for class 'transition'
plot(x, ...)
Arguments
x |
the object to plot |
... |
further methods passed to or from methods, currently unused |
Value
A plot of the predicted and actual transitions in a transition
object, as well as the matchings between them
Examples
predictions <- (sample(1:100)%%2)
references <- (sample(1:100)%%2)
window_size <- 7
if (isTRUE(requireNamespace("matchingMarkets", quietly = TRUE))){
transitions <- get_transition_info(
predictions, references, window_size
)
plot(transitions)
}
[Package PAutilities version 1.2.1 Index]