R/plot_ClaDS0_chains.R

Defines functions plot_ClaDS0_chains

Documented in plot_ClaDS0_chains

plot_ClaDS0_chains = function(sampler,burn=1/2,thin=1,param=c("sigma","alpha","l_0","LP")){
  plot(mcmc.list(lapply(sampler,function(x){mcmc(x[seq(max(1,floor(nrow(x)*(burn))),nrow(x),by = thin),param])})))
}

Try the RPANDA package in your browser

Any scripts or data that you put into this service are public.

RPANDA documentation built on May 29, 2024, 11:17 a.m.