plot_compare_track_status: Compares the track status from different assignmentDatas

View source: R/plot_compare_track_status.R

plot_compare_track_statusR Documentation

Compares the track status from different assignmentDatas

Description

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.

Usage

plot_compare_track_status(
  scenario1,
  scenario2,
  nameList = NA,
  showFalseTracks = FALSE
)

Arguments

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)

Value

ggplot object

Examples

## 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)

battleVerse/nautilus documentation built on July 16, 2024, 4:20 a.m.