generate_edgeProb: 'edgeProb' object generator

Description Usage Arguments Value

View source: R/edgeProb.R

Description

edgeProb object generator

Usage

1
2
3
4
5
6
7
8
generate_edgeProb(
  Adj,
  samp.effort,
  mode,
  Adj.subfun = NULL,
  alpha.prior = 0.5,
  beta.prior = 0.5
)

Arguments

Adj

integer matrix, the adjacency matrix (see simunet())

samp.effort

integer scalar, the sampling effort (see simunet())

mode

character scalar, the network igraph's mode (see simunet())

Adj.subfun

function, the matrix subsetting function relevant for the adjacency matrix mode (see simunet())

alpha.prior

positive numeric scalar, the parameter alpha (added to shape1 in rbeta()) used in the prior beta distribution. See rbeta()

beta.prior

positive numeric scalar, the parameter beta (added to shape2 in rbeta()) used in the prior beta distribution. See rbeta()

Value

an edgeProb object, i.e. a list containing:


R-KenK/SimuNet documentation built on Oct. 22, 2021, 1:27 a.m.