View source: R/estimate-network.R
nc_estimate_network | R Documentation |
experimental
The main NetCoupler network creator.
Uses the input data to estimate the underlying undirected graph.
The default uses the PC algorithm, implemented within NetCoupler
with pc_estimate_undirected_graph()
Defaults to using the PC algorithm to calculate possible edges.
Any missing values in the input data are removed by this function,
since some computations can't handle missingness.
nc_estimate_network(data, cols = everything(), alpha = 0.01)
data |
Data that would form the underlying network. |
cols |
< |
alpha |
The alpha level to use to test whether an edge exists or not. Default is 0.01. |
Outputs a tidygraph::tbl_graph()
with the start and end nodes, as
well as the edge weights.
See nc_estimate_links for examples on using NetCoupler and pc_estimate_undirected_graph for more details on the PC-algorithm network estimation method.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.