| data {DirichletMultinomial} | R Documentation |
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.
data(fit) data(bestgrp) data(xval)
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.
data(fit); fit[1:2] plot(sapply(fit, laplace), type="b") data(bestgrp); bestgrp data(xval); head(xval, 3)