Learn R Programming

CoDiNA (version 1.1.2)

print.CoDiNA: print.CoDiNA

Description

Print on the screen the number of nodes and edges. To see the data.frame, call: data.frame().

Usage

# S3 method for CoDiNA
print(x, ...)

Arguments

x

Output from MakeDiffNet

Additional plotting parameters.

Value

Print on the screen the number of nodes and edges.

Examples

Run this code
# NOT RUN {
Nodes = LETTERS[1:10]
Net1 = data.frame(Node.1 = sample(Nodes) , Node.2 = sample(Nodes), wTO = runif(10,-1,1))
Net2 = data.frame(Node.1 = sample(Nodes) , Node.2 = sample(Nodes), wTO = runif(10,-1,1))
Net3 = data.frame(Node.1 = sample(Nodes) , Node.2 = sample(Nodes), wTO = runif(10,-1,1))
DiffNet = MakeDiffNet (Data = list(Net1,Net2,Net3), Code = c('Net1', 'Net2', 'Net3') )
print(DiffNet)
# }

Run the code above in your browser using DataLab