Learn R Programming

ocomposition (version 1.1)

Regression for Rank-Indexed Compositional Data

Description

Regression model where the response variable is a rank-indexed compositional vector (non-negative values that sum up to one and are ordered from the largest to the smallest). Parameters are estimated in the Bayesian framework using MCMC methods.

Copy Link

Version

Install

install.packages('ocomposition')

Monthly Downloads

24

Version

1.1

License

GPL (>= 2)

Maintainer

Arturas Rozenas

Last Published

August 10th, 2015

Functions in ocomposition (1.1)

negbinom

Truncated negative binomial distribution function and sampling.
data

Example data
summary.composition

Summary function
predict.composition

Predicted compositional vector
fitcomp

Gibbs sampler for parameter estimation
functions

auxiliary functions
plot.comphat

Plot predicted composition.