get.txtdata: Function for importing the contents of an TXT file into R

Description Usage Arguments Value

View source: R/RArcInfo.R

Description

This function reads and imports into R the contents of a file of annotations (TXT).

Usage

1
get.txtdata(datadir, coverage, filename="txt.adf")

Arguments

datadir

Directory under which all the coverages and a directory called 'info' are.

coverage

The name of the coverage we want to work with.

filename

The name of the file in the coverage directory that stores the data. By default, it is called 'txt.dat'.

Value

This function returns a list with two elements. The first one is a dataframe with the next columns:

TxtID

This field identifies the anotation.

UserID

Identifier defined by the user.

Level

I don't know what this exactly means. Please, help me to fix this.

NVerticesLine

Number of vertices pairs that are valid.

NVerticesArrow

I don't know what this exactly means. Please, help me to fix this.

Text

Some text related to the annotation.

The second element in the list is another list containing the vertices related the annotation. For each annotation there are two vectors, for the X and Y coordinates.


RArcInfo documentation built on May 1, 2019, 10:26 p.m.