% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/maihda_ternary.R
\name{compute_maihda_ternary_data}
\alias{compute_maihda_ternary_data}
\title{Compute Ternary Data for MAIHDA Models}
\usage{
compute_maihda_ternary_data(
  model,
  summary_obj = NULL,
  scale = c("link", "response"),
  reference_values = NULL,
  uncertainty_method = c("auto", "se", "ci_width", "posterior_sd"),
  include_na_strata = FALSE,
  verbose = TRUE
)
}
\arguments{
\item{model}{A fitted MAIHDA model object from `fit_maihda()`.}

\item{summary_obj}{Optional output from `summary()`.}

\item{scale}{Character, either "link" or "response".}

\item{reference_values}{List or data.frame of reference values for covariates.}

\item{uncertainty_method}{Character indicating how to extract uncertainty.
"auto" uses conditional standard errors for lme4 models and posterior
standard deviations for brms models. "ci_width" uses the 95\% interval width.}

\item{include_na_strata}{Logical, whether to include strata with missing data.}

\item{verbose}{Logical, whether to print messages.}
}
\value{
A tidy tibble with ternary coordinates.
}
\description{
Compute Ternary Data for MAIHDA Models
}
