% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/trail_compare.R
\name{trail_matrix}
\alias{trail_matrix}
\title{Convert Trail records to coder-style wide data (deprecated)}
\usage{
trail_matrix(x, id_col = "id", label_col = "label")
}
\arguments{
\item{x}{Either a \code{trail_compare} object or a named list of
\code{trail_record} objects.}

\item{id_col}{Character scalar. Name of the column that identifies
units (documents, paragraphs, etc.). Must be present in each
record's \code{annotations} data.}

\item{label_col}{Character scalar. Name of the column in each
record's \code{annotations} data containing the code or label of
interest.}
}
\value{
A data frame with one row per unit and one column per
setting/record. The unit ID column is retained under the name
\code{id_col}.
}
\description{
\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}}
}
\details{
\code{trail_matrix()} is deprecated. Use \code{\link[=qlm_compare]{qlm_compare()}} to compare multiple
coded objects directly.
}
\keyword{internal}
