FitCentrality {cassandRa}R Documentation

Fit Centrality Model

Description

Repeatedly fits a centrality model to a binary interaction network to return a probability matrix

Usage

FitCentrality(
  list,
  N_runs = 10,
  maxit = 10000,
  method = "Nelder-Mead",
  ExtraSettings = NULL
)

Arguments

list

Network List

N_runs

Number of start points to try. The best (maximum likelihood) half will be used to construct the probability matrix

maxit

Default = 10'000

method

Passed to optim, default = 'Nelder-Mead'

ExtraSettings

Other control settings to pass to optim()

Value

Network list with added 'C_par', best fitting parameters, C_ProbsMatrix, the probability matrix


[Package cassandRa version 0.2.0 Index]