fitModels: Fit all 5 Bayesian methods and summarize output

Description Usage Arguments Value

View source: R/fitModels.R

Description

Fit all 5 Bayesian methods and summarize output

Usage

1
fitModels(names = NULL, simnum, niter, nburn, X, W, data, seed = NULL)

Arguments

names

optional name for the simulation (i.e. "linear")

simnum

simulation number

niter

number of total iterations for each method

nburn

number of burn-in iterations for each method

X

exposure data

W

covariate data

data

list returned from function simLinearResponse, simNonlinearResponse, or simProfilesResponse

seed

seed

Value

data frame summarizing each method


lvhoskovec/mmpack documentation built on Aug. 21, 2021, 4:05 p.m.