stats_to_lhood: Convert data frame of category statistics into likelihoods

Description Usage Arguments Value

View source: R/priors.R

Description

Convert data frame of category statistics into likelihoods

Usage

1
stats_to_lhood(stats, noise_sd = sd_noise, xlim = c(-30, 90))

Arguments

stats

data frame with columns category, mean, and sd

noise_sd

standard deviation of sensory noise (added, in variance space, to all category sds)

xlims

where to compute liklelihood.

Value

data frame with columns vot, category, and lhood


kleinschmidt/phonetic-sup-unsup documentation built on May 20, 2019, 12:33 p.m.