check_exposure_plot: Exposure Plots

View source: R/plots.R

check_exposure_plotR Documentation

Exposure Plots

Description

Exposure Plots

Usage

check_exposure_plot(samples, samples_2 = NULL, K = function(x, y)
  exp(-x/y), grid = seq(from = 0, to = 10, by = 0.01), q = c(0.025,
  0.975), Distance = TRUE)

Arguments

samples

samples from the distribution of interest

samples_2

samples from the distribution of interest for a 2D parameter NULL by default

K

function with 2 arguments the first for distance/time and the second (and/or third) for evaluating a 2D exposure function

grid

grid values to evaluate K on

q

quantiles at which to evaluate the sample

Distance

boolean value used to label horizontal axis of plot

Details

Useful for deciding whether you have the right prior for a spatial temporal parameters


Biostatistics4SocialImpact/rstap documentation built on Aug. 1, 2022, 1:15 p.m.