% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/MCIS_helpers.R
\name{as_record_df}
\alias{as_record_df}
\title{Convert recorder lists into tidy data frame after completion}
\usage{
as_record_df(rec, k)
}
\arguments{
\item{rec}{Recorder list created by [make_recorders()]}

\item{k}{Number of completed iterations/batches to include in output table.}
}
\value{
Data frame containing columns: n_sim,pf,var,cov,I_sum,time_user,time_sys,time_elapsed,...
}
\description{
#'
Converts all recorded variables up to iteration \code{k} into a compact table format suitable for plotting or result export.

Used internally after convergence or stop criterion is reached in Monte Carlo simulations.
}
\keyword{internal}
