Re: [R] extract from a list of lists

2022-12-28 Thread Leonard Mada via R-help
Dear Terry, The following approach may be more suitable: fits <- lapply(argument, function) fits.df = do.call(rbind, fits); It works if all the lists returned by "function" have the same number of elements. Example: fits.df = lapply(seq(3), function(id) { list( beta = rnorm(1)

Re: [R] MCMC tools

2022-12-28 Thread Joseph Lucke
MCMCpack, perhaps? On Tue, Dec 27, 2022, 3:32 PM Therneau, Terry M., Ph.D. via R-help < r-help@r-project.org> wrote: > Is there a convenient package that computes standard covergence summaries > for and MCMC > run?This is something that I likely knew once and have now forgotton. > > More de

Re: [R] error in exists.....

2022-12-28 Thread akshay kulkarni
Dear Bert, Thanks for sharing your views... THanking you, Yours sincerely, AKSHAY M KULKARNI From: Bert Gunter Sent: Wednesday, December 28, 2022 12:28 AM To: akshay kulkarni Cc: Sarah Goslee ; R help Mailing list Subject: Re: [R] error in