Learn R Programming

mixer (version 0.2)

spmgraph-class: Class "spmgraph"

Description

A class capable of reading files in "spm" format into graph-like objects

Arguments

Objects from the Class

Objects can be created by calls of the form new("spmgraph", initialdata,...).

Examples

Run this code
showClass("spmgraph")


macaque<-new("spmgraph",file.path(.path.package("mixer"),"spm","macaque_matrix.spm"))
str(macaque)
x<-getAdjacencyMatrix(macaque)

Run the code above in your browser using DataLab