|
a |
|
b/man/compare_rand.Rd |
|
|
1 |
% Generated by roxygen2: do not edit by hand |
|
|
2 |
% Please edit documentation in R/5.topological.R |
|
|
3 |
\name{rand_net_par} |
|
|
4 |
\alias{rand_net_par} |
|
|
5 |
\alias{compare_rand} |
|
|
6 |
\title{Net_pars of many random network} |
|
|
7 |
\usage{ |
|
|
8 |
rand_net_par(go, reps = 99, threads = 1, verbose = TRUE) |
|
|
9 |
|
|
|
10 |
compare_rand( |
|
|
11 |
pars, |
|
|
12 |
randp, |
|
|
13 |
index = c("Average_path_length", "Clustering_coefficient") |
|
|
14 |
) |
|
|
15 |
} |
|
|
16 |
\arguments{ |
|
|
17 |
\item{go}{igraph} |
|
|
18 |
|
|
|
19 |
\item{reps}{simulation time} |
|
|
20 |
|
|
|
21 |
\item{threads}{threads} |
|
|
22 |
|
|
|
23 |
\item{verbose}{verbose} |
|
|
24 |
|
|
|
25 |
\item{pars}{your net pars resulted by net_pars()} |
|
|
26 |
|
|
|
27 |
\item{randp}{random networks pars resulted by rand_net_par()} |
|
|
28 |
|
|
|
29 |
\item{index}{compared indexes: "Average_path_length","Clustering_coefficient" or else} |
|
|
30 |
} |
|
|
31 |
\value{ |
|
|
32 |
ggplot |
|
|
33 |
} |
|
|
34 |
\description{ |
|
|
35 |
Net_pars of many random network |
|
|
36 |
|
|
|
37 |
Compare some indexes between your net with random networks |
|
|
38 |
} |
|
|
39 |
\examples{ |
|
|
40 |
data("c_net") |
|
|
41 |
rand_net_par(co_net_rmt, reps = 30) -> randp |
|
|
42 |
net_par(co_net_rmt, fast = FALSE) -> pars |
|
|
43 |
compare_rand(pars, randp) |
|
|
44 |
} |
|
|
45 |
\seealso{ |
|
|
46 |
Other topological: |
|
|
47 |
\code{\link{extract_sample_net}()}, |
|
|
48 |
\code{\link{fit_power}()}, |
|
|
49 |
\code{\link{get_group_skeleton}()}, |
|
|
50 |
\code{\link{links_stat}()}, |
|
|
51 |
\code{\link{nc}()}, |
|
|
52 |
\code{\link{net_par}()}, |
|
|
53 |
\code{\link{rand_net}()}, |
|
|
54 |
\code{\link{smallworldness}()} |
|
|
55 |
} |
|
|
56 |
\concept{topological} |