cnCatnetFromSif: Categorical Network from Simple Interaction File (SIF) and...

Description Usage Arguments Details Value Author(s) See Also

View source: R/def.R

Description

Creates a catNetwork object from a SIF/BIF file.

Usage

1
2
3

Arguments

file

a file name

numcats

an integer, the number of node categories

Details

The function imports a graph structure from a SIF file by assigning equal number numcats of categories for each of its nodes and a random probability model. Subsequently, the probability model can be changed by calling cnSetProb function.

Value

A catNetwork object

Author(s)

N. Balov

See Also

cnNew, cnCatnetFromEdges, cnSetProb


sdnet documentation built on May 29, 2017, 1:32 p.m.

Search within the sdnet package
Search all R packages, documentation and source code