EVOLUTION-MANAGER
Edit File: hrg.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: Create a hierarchical random graph from an igraph graph</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" type="text/css" href="R.css" /> </head><body> <table width="100%" summary="page for hrg {igraph}"><tr><td>hrg {igraph}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>Create a hierarchical random graph from an igraph graph</h2> <h3>Description</h3> <p><code>hrg</code> creates a HRG from an igraph graph. The igraph graph must be a directed binary tree, with <i>n-1</i> internal and <i>n</i> leaf vertices. The <code>prob</code> argument contains the HRG probability labels for each vertex; these are ignored for leaf vertices. </p> <h3>Usage</h3> <pre> hrg(graph, prob) </pre> <h3>Arguments</h3> <table summary="R argblock"> <tr valign="top"><td><code>graph</code></td> <td> <p>The igraph graph to create the HRG from.</p> </td></tr> <tr valign="top"><td><code>prob</code></td> <td> <p>A vector of probabilities, one for each vertex, in the order of vertex ids.</p> </td></tr> </table> <h3>Value</h3> <p><code>hrg</code> returns an <code>igraphHRG</code> object. </p> <h3>See Also</h3> <p>Other hierarchical random graph functions: <code><a href="consensus_tree.html">consensus_tree</a>()</code>, <code><a href="fit_hrg.html">fit_hrg</a>()</code>, <code><a href="hrg-methods.html">hrg-methods</a></code>, <code><a href="hrg_tree.html">hrg_tree</a>()</code>, <code><a href="predict_edges.html">predict_edges</a>()</code>, <code><a href="print.igraphHRGConsensus.html">print.igraphHRGConsensus</a>()</code>, <code><a href="print.igraphHRG.html">print.igraphHRG</a>()</code>, <code><a href="sample_hrg.html">sample_hrg</a>()</code> </p> <hr /><div style="text-align: center;">[Package <em>igraph</em> version 1.3.5 <a href="00Index.html">Index</a>]</div> </body></html>