Learn R Programming

mcp (version 0.3.3)

get_density: Compute the density at a specific point.

Description

Used in hypothesis

Usage

get_density(samples, LHS, value)

Value

A float

Arguments

samples

An mcmc.list

LHS

Expression to compute posterior

value

What value to evaluate the density at

Author

Jonas Kristoffer Lindeløv jonas@lindeloev.dk