ghypernet (version 1.0.0)

BootstrapProperty: BootstrapProperty computes igraph analytics function on ensemble

Description

BootstrapProperty computes igraph analytics function on ensemble

Usage

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

Run this code
# NOT RUN {
library(igraph)
data('adj_karate')
result <- BootstrapProperty(adj_karate, page_rank, FALSE, FALSE, nsamples=10)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab