nix2_classify: Classification function for Normal-Chi^-2 distributions

Description Usage Arguments Value

View source: R/nix.R

Description

This computes the posterior probability of data under different Normal-Chi^-2 distributions.

Usage

1
nix2_classify(x, ps, category = 1:length(ps))

Arguments

x

Vector of points to classify

ps

List of category Norma-Chi^-2 params

category

(Optional) Which categories' posteriors to return. If missing, all are returned

Value

A length(x)-by-category matrix of posterior probabilities


kleinschmidt/beliefupdatr documentation built on May 24, 2020, 8:26 p.m.