samp_from_grid: Sample from grid approximation of posterior distribuitions

Description Usage Arguments Value

View source: R/samp_from_grid.R

Description

Sample from the joint posterior of parameters

Usage

1
samp_from_grid(joint_post, params, nsamps)

Arguments

joint_post

Data frame giving the joint posterior

params

Vector of names of parameters to sample

nsamps

Number of samples to take

Value

A data.frame that is nsamps by length(params) of samples


jean997/cause documentation built on Dec. 25, 2021, 10 p.m.