tem_def: Get template definition

Description Usage Arguments Value Examples

View source: R/tem_def.R

Description

Template definitions are specially formatted files that contain information about templates that are needed to do things like symmetrising and masking images. This function is mostly used internally.

Usage

1
tem_def(tem_id = "FRL", path = NULL)

Arguments

tem_id

numeric ID of template to retrieve from webmorph.org

path

path of local tem definition file

Value

list with template definition

Examples

1
2
3
4
5
6
7
8
frl <- tem_def("FRL")
frl$points[1:10, ]

fpp106 <- tem_def("fpp106")
fpp106$lines %>% str()

fpp83 <- tem_def("fpp83")
fpp83$mask %>% str()

facelab/webmorph documentation built on April 11, 2021, 6:34 a.m.