Description Usage Arguments Details Value Author(s) Examples
main function to calculate PFN a ranked list of edge pairs
1 2 |
edgelist |
three column edgelist: first two columns are topological edges, and the third column is the weight. Must be a data.frame object. |
max.skipEdges |
Maximum number of edges to be searched by planarity test without any inclusion to PFN. If set NULL, it will be automatically set to number of cores x 1000. It acts as a threhold to quicken PFN construction termination during PCP. |
maxENum |
maximum number of edges to include in final PFN. Default value is NULL, which invokes maximal number of edges allowed in planar network. |
doPar |
TRUE/FALSE logical variable to choose parallelization. |
num.cores |
number of cores to use in parallelization. |
keep.track |
If TRUE, pfg_el.RData will be created in working folder. This file can be used later for restart in case PFN construction did not finish successfully. Default is TRUE. |
If doPar = TRUE
, then num.cores are registered for PCP.
output is three column edgelist data.frame, third column being the weight.
Won-Min Song
1 2 3 4 |
Loading required package: doParallel
Loading required package: foreach
Loading required package: iterators
Loading required package: parallel
Loading required package: igraph
Attaching package: 'igraph'
The following objects are masked from 'package:stats':
decompose, spectrum
The following object is masked from 'package:base':
union
####### PFN Calculation commences ########
[1] "PFG is complete."
row col weight
1 1 3 0.8791673
2 1 2 0.4047293
3 2 3 0.2975602
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.