% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/hrg.R
\name{hrg.create}
\alias{hrg.create}
\title{Create a hierarchical random graph from an igraph graph}
\usage{
hrg.create(graph, prob)
}
\arguments{
\item{graph}{The igraph graph to create the HRG from.}

\item{prob}{A vector of probabilities, one for each vertex, in the order of
vertex ids.}
}
\description{
\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}}

\code{hrg.create()} was renamed to \code{\link[=hrg]{hrg()}} to create a more
consistent API.
}
\section{Related documentation in the C library}{
\href{https://igraph.org/c/html/0.10.17/igraph-HRG.html#igraph_hrg_create}{\code{hrg_create()}}
}

\keyword{internal}
