% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/print.efa_kmo.R
\name{print.efa_kmo}
\alias{print.efa_kmo}
\alias{format.efa_kmo}
\title{Print and format an efa_kmo object}
\usage{
\method{print}{efa_kmo}(x, ...)

\method{format}{efa_kmo}(x, ...)
}
\arguments{
\item{x}{An object of class \code{efa_kmo} (output from \code{\link[=efa_kmo]{efa_kmo()}}).}

\item{...}{Not used; for consistency with the generic.}
}
\value{
\code{print()} returns its argument \code{x} invisibly. \code{format()} returns a
character vector with the report lines.
}
\description{
\code{print()} shows the Kaiser-Meyer-Olkin (KMO) criterion computed by \code{\link[=efa_kmo]{efa_kmo()}}: a
titled section with a verdict on the overall KMO value (and what it implies for
the suitability of the data for factor analysis), the overall value, and the
per-variable KMO values. \code{format()} assembles the same report and returns it as
a character vector; \code{print()} is \code{cat(format(x), sep = "\\n")}. The lines follow
the active console theme, so they are plain when colours are disabled (for
example when captured into a file or stripped with \code{\link[cli:ansi_strip]{cli::ansi_strip()}}).
}
\examples{
KMO_base <- efa_kmo(test_models$baseline$cormat)
KMO_base

# format() returns the same lines as a character vector:
writeLines(format(KMO_base))

}
