Description Usage Arguments Value
View source: R/GLM_mcmc_functions.R
mcmc for the GLM parameters
1 | GLM_MCMC(Niter, name_dir, pars_ini, x, y, plot_chain)
|
Niter |
number of interations |
name_dir |
where to save output |
pars_ini |
vector of inital parameters for GLM |
x |
covariates |
y |
explanatory variable |
plot_chain |
whether to plot the first parameter's chain (TRUE or FALSE) |
saves chain in a folder of name paste0(name_dir,"/","GLM_chain",fileIndex,"_output.csv")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.