% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/games.howell.R
\name{gh_letters}
\alias{gh_letters}
\title{Get compact letter display from Games-Howell results}
\usage{
gh_letters(x, alpha = 0.05)
}
\arguments{
\item{x}{A games.howell object from \code{games.howell()}}

\item{alpha}{Significance level (default: 0.05)}
}
\value{
A named vector with group names and their letter codes
}
\description{
Converts Games-Howell test results into compact letter display
using multcompView. Groups sharing a letter are not significantly different.
}
\examples{
# Convert dose to factor
ToothGrowth$dose <- as.factor(ToothGrowth$dose)
result <- games.howell(ToothGrowth$len, ToothGrowth$dose)
letters <- gh_letters(result)
print(letters)

}
