Learn R Programming

DirichletMultinomial (version 1.14.0)

data: Data objects used for examples and the vignette

Description

These data objects correspond to steps in a typical work flow, as described in the vignette to this package. fit corresponds to dmn fits to different values of k. bestgroup is the result of the two-group generative classifier. xval summarizes leave-one-out cross validation of the classifier.

Usage

data(fit) data(bestgrp) data(xval)

Arguments

Format

fit is a list of seven DMN objects. bestgrp is a DMNGroup object. xval is a data.frame with columns corresponding to the cross-validation group membership and the Lean and Obese posterior probabilities.

Examples

Run this code
data(fit); fit[1:2]
plot(sapply(fit, laplace), type="b")
data(bestgrp); bestgrp
data(xval); head(xval, 3)

Run the code above in your browser using DataLab