scm: Fit the Soft-Configuration Model

View source: R/ghype.R

scmR Documentation

Fit the Soft-Configuration Model

Description

scm is wrapper for ghype that allows to specify a soft-configuration model.

Usage

scm(graph, directed = NULL, selfloops = NULL, ...)

Arguments

graph

either an adjacency matrix or an igraph graph

directed

optional boolean, if not specified detected from graph

selfloops

optional boolean, if not specified detected from graph

...

additional parameters passed to the ghype function

Value

ghype object

Examples

data("adj_karate")
confmodel <- scm(graph = adj_karate, directed = FALSE, selfloops = FALSE)


gi0na/ghypernet documentation built on April 13, 2024, 2:33 a.m.