% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/hrg.R
\name{sample_hrg}
\alias{sample_hrg}
\title{Sample from a hierarchical random graph model}
\usage{
sample_hrg(hrg)
}
\arguments{
\item{hrg}{A hierarchical random graph model.}
}
\value{
An igraph graph.
}
\description{
\code{sample_hrg()} samples a graph from a given hierarchical random graph
model.
}
\section{Related documentation in the C library}{
\href{https://igraph.org/c/html/0.10.17/igraph-HRG.html#igraph_hrg_game}{\code{hrg_game()}}
}

\seealso{
Other hierarchical random graph functions: 
\code{\link{consensus_tree}()},
\code{\link{fit_hrg}()},
\code{\link{hrg}()},
\code{\link{hrg-methods}},
\code{\link{hrg_tree}()},
\code{\link{predict_edges}()},
\code{\link{print.igraphHRG}()},
\code{\link{print.igraphHRGConsensus}()}
}
\concept{hierarchical random graph functions}
