fpca.mod: The modularity values based on the DCBM and SBM assumptions...

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/fpca.mod.R

Description

Get the modularity values based on the DCBM and SBM assumptions for the estimators along the path. It is part of the function in fpca, the main part of this function is single.mod.

Usage

1
fpca.mod(A, obj, fpca.cluster, K = 2, iso.seq)

Arguments

A

input matrix – adjacency matrix of an observed graph based on the non-isolated nodes, of dimension n.noniso x n.noniso, where n.noniso is the number of the non-isolated nodes.

obj

a fpca.start object, which is a list containing iso.seq. This argument is used only if iso.seq is missing.

fpca.cluster

a list of vectors, with each vector as the estimator of the community labels of the non-isolated nodes in the network, of dimension n.noniso, values taken from 1 to K, where K is the number of communities.

K

the number of the communities, with 2 as the default value.

iso.seq

a vector of the indices of those isolated nodes in the graph. If it is missing, obj should be offered.

Value

mod.dcbm.list

a list of modularity values based on DCBM assumption for the estimator path.

mod.sbm.list

a list of modularity values based on SBM assumption for the estimator path.

Author(s)

Yang Feng, Richard J. Samworth and Yi Yu

References

Yang Feng, Richard J. Samworth and Yi Yu, Community Detection via Fused Principal Component Analysis, manuscript. Holland, P.W., Laskey, K.B. and Leinhardt, S., 1983. Stochastic block models: first steps. Social Networks 5, 109-137. Jin, J., 2012. Fast community detection by score. Karrer, B. and Newman, M.E.J., 2011. Stochastic blockmodels and community structure in networks. Physical Review E 83, 016107.

See Also

single.mod, fpca, fpca.start.

Examples

1
### please see the examples in fpca

Example output

Loading required package: genlasso
Loading required package: MASS
Loading required package: Matrix
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

FusedPCA documentation built on May 29, 2017, 9:19 p.m.

Related to fpca.mod in FusedPCA...