|
a |
|
b/man/net_par.Rd |
|
|
1 |
% Generated by roxygen2: do not edit by hand |
|
|
2 |
% Please edit documentation in R/5.topological.R |
|
|
3 |
\name{net_par} |
|
|
4 |
\alias{net_par} |
|
|
5 |
\alias{c_net_index} |
|
|
6 |
\title{Calculate all topological indexes of a network} |
|
|
7 |
\usage{ |
|
|
8 |
net_par( |
|
|
9 |
go, |
|
|
10 |
mode = c("v", "e", "n", "all"), |
|
|
11 |
fast = TRUE, |
|
|
12 |
remove_negative = FALSE |
|
|
13 |
) |
|
|
14 |
|
|
|
15 |
c_net_index(go, force = FALSE) |
|
|
16 |
} |
|
|
17 |
\arguments{ |
|
|
18 |
\item{go}{igraph or metanet} |
|
|
19 |
|
|
|
20 |
\item{mode}{calculate what? c("v", "e", "n", "all")} |
|
|
21 |
|
|
|
22 |
\item{fast}{less indexes for faster calculate ?} |
|
|
23 |
|
|
|
24 |
\item{remove_negative}{remove negative edge or not? default: FALSE} |
|
|
25 |
|
|
|
26 |
\item{force}{replace existed net_par} |
|
|
27 |
} |
|
|
28 |
\value{ |
|
|
29 |
a 3-elements list |
|
|
30 |
\item{n_index}{indexs of the whole network} |
|
|
31 |
\item{v_index}{indexs of each vertex} |
|
|
32 |
\item{e_index}{indexs of each edge} |
|
|
33 |
} |
|
|
34 |
\description{ |
|
|
35 |
Calculate all topological indexes of a network |
|
|
36 |
|
|
|
37 |
Add topological indexes for a network |
|
|
38 |
} |
|
|
39 |
\examples{ |
|
|
40 |
igraph::make_graph("Walther") \%>\% net_par() |
|
|
41 |
c_net_index(co_net) -> co_net_with_par |
|
|
42 |
} |
|
|
43 |
\seealso{ |
|
|
44 |
Other topological: |
|
|
45 |
\code{\link{extract_sample_net}()}, |
|
|
46 |
\code{\link{fit_power}()}, |
|
|
47 |
\code{\link{get_group_skeleton}()}, |
|
|
48 |
\code{\link{links_stat}()}, |
|
|
49 |
\code{\link{nc}()}, |
|
|
50 |
\code{\link{rand_net_par}()}, |
|
|
51 |
\code{\link{rand_net}()}, |
|
|
52 |
\code{\link{smallworldness}()} |
|
|
53 |
} |
|
|
54 |
\concept{topological} |