Learn R Programming

comato (version 1.1)

read.folder.tgf: Importing a set of concept maps from TGF files.

Description

read.folder.tgf reads several TGF files and imports them as a conceptmaps object.

Usage

read.folder.tgf(folder, strip = TRUE)

Arguments

folder

The path of a folder in which every TGF file is read.

strip

Passed to the call of read.tgf that is used to import the single concept maps.

Value

A list consisting of a conceptmaps object and the list of filenames (in the same order as the maps in the conceptmaps object).

Examples

Run this code
# NOT RUN {
#Assuming that the data is in the folder "~/cmaps"
cm = read.folder.tgf("~/cmaps")
# }

Run the code above in your browser using DataLab