Learn R Programming

NetworkToolbox (version 1.1.1)

splitsampStats: Statistics for splitsamp Networks

Description

Applies a network statistics to the networks generated from the splitsampNet function

Usage

splitsampStats(object, stats = c("edges", "centralities"),
  edges = c("lower", "upper"))

Arguments

object

Object output from splitsampNet function

stats

Which stats should be computed? "edges" will compute statistics for the edgerep function. "centralities" will compute betweenness, closeness, and strength. Both options are allowed

edges

If stats = "edges, should the lower or upper replication percentage be used? Defaults to "lower".

Value

Returns a list of statistics for edges (Edges), centralities (Centralities), or both

Examples

Run this code
# NOT RUN {
samples <- splitsamp(neoOpen)

nets <- splitsampNet(samples, method="TMFG")

stats <- splitsampStats(nets, stats = "edges", edges = "lower")
# }

Run the code above in your browser using DataLab