% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/mmm.R
\name{plot.net_mmm}
\alias{plot.net_mmm}
\title{Plot Method for net_mmm}
\usage{
\method{plot}{net_mmm}(x, type = c("posterior", "covariates"), ...)
}
\arguments{
\item{x}{A \code{net_mmm} object.}

\item{type}{Character. Plot type: \code{"posterior"} (default) or \code{"covariates"}.}

\item{...}{Additional arguments (ignored).}
}
\value{
A \code{ggplot} object, invisibly.
}
\description{
Plot Method for net_mmm
}
\examples{
seqs <- data.frame(V1 = sample(c("A","B","C"), 30, TRUE),
                   V2 = sample(c("A","B","C"), 30, TRUE))
mmm <- build_mmm(seqs, k = 2, n_starts = 1, max_iter = 10, seed = 1)
plot(mmm, type = "posterior")
\donttest{
set.seed(1)
seqs <- data.frame(
  V1 = sample(c("A","B","C"), 30, TRUE),
  V2 = sample(c("A","B","C"), 30, TRUE),
  V3 = sample(c("A","B","C"), 30, TRUE)
)
mmm <- build_mmm(seqs, k = 2, n_starts = 5, seed = 1)
plot(mmm, type = "posterior")
}

}
