BootstrapProperty: BootstrapProperty computes igraph analytics function on...

Description Usage Arguments Value Examples

View source: R/igraphintegration.R

Description

BootstrapProperty computes igraph analytics function on ensemble

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
BootstrapProperty(
  graph,
  property,
  directed,
  selfloops,
  nsamples = 1000,
  xi = NULL,
  omega = NULL,
  model = NULL,
  m = NULL,
  seed = NULL,
  ...
)

Arguments

graph

igraph graph

property

igraph function that can be applied to a graph

directed

boolean

selfloops

boolean

nsamples

number of samples from ensemble. defaults to 1000

xi

matrix, default null

omega

matrix, default null

model

ghype model from which to extract xi and omega, default to null

m

int, number of edges to sample from model

seed

seed

...

other parameters to pass to 'property'

Value

vector of length nsamples

Examples

1
2
3
library(igraph)
data('adj_karate')
result <- BootstrapProperty(adj_karate, page_rank, FALSE, FALSE, nsamples=10)

ghypernet documentation built on Oct. 15, 2021, 5:14 p.m.