import_tps: Imports a tps file

Description Usage Arguments Value See Also

View source: R/babel-import.R

Description

And returns a list of coordinates, curves, scale

Usage

1
import_tps(tps.path, curves = TRUE)

Arguments

tps.path

lines, typically from readLines, describing a single shape in tps-like format.

You will need to manually build your Coo object from it: eg Out(coo=your_list$coo).

curves

logical whether to read curves, if any

Value

a list with components: coo a matrix of coordinates; cur a list of matrices; scale the scale as a numeric.

See Also

Other babel functions: bind_db, chc2Out, chc2pix, import_StereoMorph_curve1, import_jpg, nef2Coe, ntsrow2Coo, pix2chc, tie_jpg_txt, tps2coo


Momocs documentation built on Sept. 28, 2017, 9:04 a.m.