Learn R Programming

comato (version 1.1)

as.matrix.conceptmap: Convert a conceptmap object to a matrix

Description

as.matrix converts a conceptmap object into a matrix. The output can be fed back into conceptmap.matrix.

Usage

# S3 method for conceptmap
as.matrix(x, ...)

Arguments

x

A conceptmap object.

...

-

Value

A matrix with 3 columns and one row for each proposition of the concept map. The 3 columns contain the start and end node of each proposition as well as the label of the edge (as character vectors).