classify: Use trained models to classify observed cue values

Description Usage Arguments Value Functions

View source: R/classification.R

Description

Names of columns are taken from the names of the first mu in models.

Usage

1
2
3

Arguments

data

Data frame with grouping columns used to generate models and F1,F2

models

Data frame with column category and list column 'model' (as generated by 'train_models').

category

Name of the column in models that has category labels

Value

Data frame with one row per data x model combination, with likelihood in lhood, posterior probability in posterior. The model with the highest posterior for each token has TRUE in posterior_choice.

Functions


kleinschmidt/phondisttools documentation built on May 20, 2019, 5:57 p.m.