View source: R/plot_compare_track_status.R
plot_compare_track_status | R Documentation |
This figure compares the target assignments from two methods. Each subfigure is similar to plot_track_status(). Areas of disagreement between the two methods are shown in bold. If there are differences in points flagged as false tracks they are shown as triangles.
plot_compare_track_status(
scenario1,
scenario2,
nameList = NA,
showFalseTracks = FALSE
)
scenario1 |
must contain track-to-truth assignments (the output of target_assignment()) and truthData |
scenario2 |
must contain track-to-truth assignments (the output of target_assignment()) and truthData |
nameList |
title of each scenario in a list, (default = the scenario names) |
showFalseTracks |
will plot false tracks for comparison (default=FALSE) |
ggplot object
## Not run:
pointScenario=scenarioMaker::example2_scenario %>%
target_assignment("point",cutoff=100)
gaussScenario=scenarioMaker::example2_scenario %>%
target_assignment("windowGauss",cutoff=100, window=10)
plot_compare_track_status(scenario1 = pointScenario,
scenario2 = gaussScenario,
nameList = list("Point Method", "Gauss Window Method"),
showFalseTracks = FALSE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.