Learn R Programming

LoopAnalyst (version 1.1-1)

save.cm: Save a Community Matrix

Description

Validates and saves a community matrix in compressed binary format.

Usage

save.cm(CM, file)

Arguments

CM
A community matrix to be validated and saved.
file
a connection or a character string giving the name of the file to save.

Details

This function uses validate.cm and save to store a communty matrix object.

See Also

load.

Examples

Run this code
## save a community matrix
data(community.matrix)
save.cm(community.matrix, file="Model1.cm")

Run the code above in your browser using DataLab