import_txt: Imports coordinates from a .txt file
Description
A wrapper around read.table that can be used to import outline/landmark coordinates.
Usage
import_txt(txt.paths = NULL, ...)
Arguments
txt.paths
a vector of paths corresponding to the .txt files to import. If not
provided (or NULL
), switches to the automatic version, just as inimport_jpg.
See Details there. ...
arguments to be passed to read.table, eg. 'skip', 'dec', etc. Value
a list of matrix(ces) of (x; y) coordinates that can be passed to
Out, Opn and Ldk.
Details
By default, it works with the default arguments of read.table, e.g. assumes that the
columns are not named in the .txt
files. You can tune this using the ...
argument.
Define the read.table arguments that allow to import a single file, and then
pass them to this function.
See Also
babel functions.