cmcPlot: Plot Congruent Matching Cells results for a pair of cartridge...

cmcPlotR Documentation

Plot Congruent Matching Cells results for a pair of cartridge cases.

Description

Plot Congruent Matching Cells results for a pair of cartridge cases.

Usage

cmcPlot(
  reference,
  target,
  cmcClassifs,
  type = "faceted",
  cmcCol = "originalMethod",
  corrCol = "pairwiseCompCor"
)

Arguments

reference

the scan that is partitioned into a grid of cells

target

the scan to which each reference cell is compared during the cell-based comparison procedure

cmcClassifs

a data frame containing columns cellHeightValues, alignedTargetCell, cellIndex, theta, and user-defined cmcCol & corrCol

type

the form of the returned plot object(s). Either "faceted," meaning the reference and target plot will be shown side-by-side or "list" meaning each element of the plot (referece, target, and legend) will be returned separately as elements of a list

cmcCol

name of column containing CMC classifications as returned by the decision_CMC function. Defaults to "originalMethod"

corrCol

name of column containing correlation values for each cell. Defaults to "pairwiseCompCor," but "fft_ccf" is a common alternative.


CSAFE-ISU/cmcR documentation built on Feb. 15, 2023, 5:10 p.m.