Get data from Excel spreadsheet
driver program for SISUS
model.mass.balance.equation
Mass balance equations for converting isotope values to biomass values
s.plot.scatterplot.sample
Scatterplot matrix
Samples isotope values from the Multivariate Normal Distribution
SISUS: Stable Isotope Sourcing using Sampling
Convex Hull plot
indy.mixture.isotope.mvn.sample
Strip out the samples associated with the current mixture
s.plot.settings.begin.end
Plot settings for all plots
Numerical summaries
define scatterplot diagonal formatting
model.mass.balance.equation.inverse
Inverse Mass balance equations for converting biomass sampled values back to isotope values
Calculate the moments of the Dirichlet distribution given the values of vector alpha
Write input values out to a file
write directly to the screen
polytope.multiple.samples
Defines linear constraints for each sample from the isotope distribution, passed to sample.from.polytope()
Assign variables from input file to variable names
Polytope constraints (incorporates both Isotope and Additional linear constraints)
Resamples weighted samples from the polytope from the Dirichlet distribution on the p vector
Clean up filenames, replacing spaces and bad characters with "_" and "-"
s.plot.convex.hull.titles
outside titles Convex Hull matrix plot
returns the time taken since the time started
Write model settings to the process log
additional.linear.constraints
Additional Linear Constraints
s.plot.marginal.histogram
Plot marginal histograms
write A matrix and b vector
Prior on the vector of source proportions, p, is defined by the given vector alpha
CORE function to draw the samples from the polytope
MCMC Diagnostics
write progress to the screen