% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/tsqca_fiss_core.R
\name{generate_fiss_chart}
\alias{generate_fiss_chart}
\title{Generate Fiss-Style Configuration Chart from Sweep Results}
\usage{
generate_fiss_chart(
  result,
  conditions = NULL,
  symbol_set = c("unicode", "ascii", "latex"),
  language = c("en", "ja")
)
}
\arguments{
\item{result}{Sweep result augmented by \code{\link{compute_fiss_core}}.}

\item{conditions}{Character vector. Condition names (row order).
If \code{NULL}, extracted from stored settings.}

\item{symbol_set}{Character. One of \code{"unicode"} (default),
\code{"ascii"}, or \code{"latex"}.}

\item{language}{Character. \code{"en"} (default) or \code{"ja"}.}
}
\value{
Character string: Markdown-formatted Fiss configuration chart.
}
\description{
Produces a Markdown-formatted configuration chart following Fiss (2011),
using four symbols to distinguish core conditions (present in both
parsimonious and intermediate solutions) from peripheral conditions
(present in intermediate solution only).
}
\details{
Call \code{\link{compute_fiss_core}} first to augment the sweep result.
}
\examples{
\dontrun{
data(sample_data)
res <- otSweep(
  dat = sample_data, outcome = "Y",
  conditions = c("X1", "X2", "X3"),
  sweep_range = 6:8,
  thrX = c(X1 = 7, X2 = 7, X3 = 7),
  include = "?", dir.exp = c(1, 1, 1),
  return_details = TRUE
)
res_fiss <- compute_fiss_core(res, conditions = c("X1", "X2", "X3"))
cat(generate_fiss_chart(res_fiss))
cat(generate_fiss_chart(res_fiss, symbol_set = "latex"))
cat(generate_fiss_chart(res_fiss, language = "ja"))
}

}
\references{
Fiss, P. C. (2011). Building better causal theories: A fuzzy set approach
to typologies in organization research. \emph{Academy of Management Journal},
54(2), 393-420.
}
\seealso{
\code{\link{compute_fiss_core}}
}
