get_posterior_probabilities: Get Posterior Probabilities

View source: R/ClusterModeling_analysisfunctions.R

get_posterior_probabilitiesR Documentation

Get Posterior Probabilities

Description

Get the posterior probabilities for questioned document analyzed with analyze_questioned_documents().

Usage

get_posterior_probabilities(analysis, questioned_doc)

Arguments

analysis

The output of analyze_questioned_documents(). If more than one questioned document was analyzed with this function, then the data frame analysis$posterior_probabilities lists the posterior probabilities for all questioned documents. get_posterior_probabilities() creates a data frame of the posterior probabilities for a single questioned document and sorts the known writers from the most likely to least likely to have written the questioned document.

questioned_doc

The filename of the questioned document

Value

A data frame of posterior probabilities for the questioned document

Examples

get_posterior_probabilities(
  analysis = example_analysis_1chain,
  questioned_doc = "w0009_s03_pWOZ_r01.png"
)
get_posterior_probabilities(
  analysis = example_analysis_1chain,
  questioned_doc = "w0030_s03_pWOZ_r01.png"
)


handwriter documentation built on Oct. 13, 2023, 5:10 p.m.