I'm using the coda package to calculate the summary statistics of my MCMC. However, there seems to be no options to convert the printed summary into a Latex table. I've tried stargazer, and coercing summary.mcmc results to a data frame. Both attempts have failed.
Here's a reproducible example:
library(coda)
mock_mcmc <- mcmc(rnorm(1000))
summary(mock_mcmc)
summary.mcmc will print out 
1. Empirical mean and standard deviation for each variable,
   plus standard error of the mean:
          Mean             SD       Naive SE Time-series SE 
       0.03180        0.98715        0.03122        0.03368 
2. Quantiles for each variable:
    2.5%      25%      50%      75%    97.5% 
-1.89794 -0.65289  0.02952  0.67396  1.97158 
How do I output that result table into a Latex file? I understand that it is possible to calculate the summary statistics by hand, but I'm curious whether there's a convenient feature of coda that I don't know about.
 
     
    