% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/model_linear.R
\name{extract_linear_local_result}
\alias{extract_linear_local_result}
\title{Extract coefficients and diagnostics from a local linear model}
\usage{
extract_linear_local_result(local_result)
}
\arguments{
\item{local_result}{A list as returned by `fit_linear_local_model()`.}
}
\value{
A named list with elements:
\describe{
  \item{`coefficients`}{Named numeric vector of local coefficient estimates.}
  \item{`se`}{Named numeric vector of standard errors (same names).}
  \item{`tvalues`}{Named numeric vector of t-statistics.}
  \item{`local_r2`}{Numeric scalar or `NA_real_`.}
  \item{`local_aic`}{Numeric scalar or `NA_real_`.}
  \item{`status`}{`"ok"` or `"failed"`.}
  \item{`error`}{`NULL` or character error message.}
}
}
\description{
Extract coefficients and diagnostics from a local linear model
}
\keyword{internal}
