gen_parms: Draw parameter values from the posteriour distribution of an...

View source: R/ABC.R

gen_parmsR Documentation

Draw parameter values from the posteriour distribution of an ABC using a density kernal

Description

Draw parameter values from the posteriour distribution of an ABC using a density kernal

Usage

gen_parms(x, res, num_accepted, parameters, grid = 2000, dist.var = "ks")

Arguments

x

numeric, the number of values to draw.

res

data.frame, the results of an ABC run, must include a "dist" column.

num_accepted

numeric, either the proportion of runs to accept or the number of runs to accept.

parameters

character, the parameter names for which to draw values.


hemstrow/GeneArchEst documentation built on June 10, 2025, 5:06 a.m.