Description Usage Arguments Value Author(s) References See Also Examples
The continuous power law scan statistic evaluate the statistic which compare the node attribute within the subgraph with that outside the subgraph while the node attribute follows the continuous power-law distribution.
1 | conpowerlaw.stat(obs, pop = 1, zloc, xmin = 1, zetatable = NULL)
|
obs |
Numeric vector of observation values. |
pop |
Numeric vector of population values; default = 1. |
zloc |
Numeric vector of selected nodes. |
xmin |
The minmum value of power law distribution; defaut=1. |
zetatable |
When xmin=1, set up the data(zetatable). |
Three values will be returned. The first value is test statistic. The second is the estimated means which estimated outside the selected nodes. The third is the estimated means estimated within the selected nodes.
Taichi Wang <taichi43@stat.sinica.edu.tw>
Wang, T. C., Phoa, F. K. H., & Hsu, T. C. (2015). Power-law distributions of attributes in community detection. Social Network Analysis and Mining, 5(1), 1-10.
rplcon
,zetatable
,powerlaw.stat
1 2 3 | library(poweRlaw)
x=rplcon(n=100, xmin=1, alpha=3)#function from poweRlaw
conpowerlaw.stat(obs=x,zloc=1:5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.