Compare the writer profiles from two handwritten documents to predict whether
they were written by the same person. Use either a similarity score or a
score-based likelihood ratio as a comparison method.
A dataframe of writer profiles or cluster fill rates
calculated with get_cluster_fill_rates
score_only
TRUE returns only the similarity score. FALSE returns the
similarity score and a score-based likelihood ratio for that score,
calculated using reference_scores.
rforest
Optional. A random forest created with ranger::ranger().
If a random forest is not supplied, random_forest will be used.
reference_scores
Optional. A list of same writer and different writer
similarity scores used for reference to calculate a score-based likelihood
ratio. If reference scores are not supplied, ref_scores will be used only
if score_only is FALSE. If score only is true, reference scores are
unnecessary because a score-based likelihood ratio will not be calculated.
If reference scores are supplied, score_only will automatically be set to
FALSE.