bestGuess {animl}R Documentation

Select Best Classification From Multiple Frames

Description

Select Best Classification From Multiple Frames

Usage

bestGuess(
  manifest,
  sort = "count",
  count = FALSE,
  shrink = FALSE,
  outfile = NULL,
  prompt = TRUE,
  parallel = FALSE,
  workers = 1
)

Arguments

manifest

dataframe of all frames including species classification

sort

method for selecting best prediction, defaults to most frequent

count

if true, return column with number of MD crops for that animal (does not work for images)

shrink

if true, return a reduced dataframe with one row per image

outfile

file path to which the data frame should be saved

prompt

if true, prompts the user to confirm overwrite

parallel

Toggle for parallel processing, defaults to FALSE

workers

number of processors to use if parallel, defaults to 1

Value

dataframe with new prediction in "Species" column

Examples

## Not run: 
mdmanifest <- bestGuess(manifest, sort = "conf")

## End(Not run)

[Package animl version 1.1.0 Index]