Learn R Programming

⚠️There's a newer version (1.1.0) of this package.Take me there.

sourceR (version 1.0.0)

Fits a Non-Parametric Bayesian Source Attribution Model

Description

Implements a non-parametric source attribution model to attribute cases of disease to sources in Bayesian framework with source and type effects. Type effects are clustered using a Dirichlet Process. Multiple times and locations are supported.

Copy Link

Version

Install

install.packages('sourceR')

Monthly Downloads

35

Version

1.0.0

License

GPL-3

Maintainer

Poppy Miller

Last Published

January 15th, 2017

Functions in sourceR (1.0.0)

FormulaNode

FormulaNode
DirichletNode

DirichletNode
GammaNode

GammaNode
PoisGammaDPUpdate

PoisGammaDPUpdate
campy

Human cases of campylobacteriosis and numbers of source samples positive for Campylobacter.
PoissonNode

PoissonNode
sim_SA_prev

Simulated data prevalences.
sim_SA_data

Simulated data: Human cases of campylobacteriosis and numbers of source samples positive for Campylobacter.
DirichletProcessNode

Transformed Dirichlet node
sim_SA_true

True values for the parameters generating the simulated data.