import_txt {Momocs} | R Documentation |
Import 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 = .lf.auto(), ...)
Arguments
txt.paths |
a vector of paths corresponding to the .txt files to import. If not
provided (or |
... |
arguments to be passed to read.table, eg. 'skip', 'dec', etc. |
Details
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, ie if your .txt
file
has a header (eg ('x', 'y')), do not forget header=TRUE
.
Value
a list of matrix(ces) of (x; y) coordinates that can be passed to Out, Opn and Ldk.
Note
Note this function will be deprecated from Momocs
when Momacs
and Momit
will be fully operationnal.
Silent message and progress bars (if any) with options("verbose"=FALSE)
.
See Also
Other import functions:
import_Conte()
,
import_StereoMorph_curve1()
,
import_jpg1()
,
import_jpg()
,
import_tps()
,
pix2chc()