match_template: Match variables from formula to template

View source: R/shape_dat-class.R

match_templateR Documentation

Match variables from formula to template

Description

Internal functions matching the variables in formula to those provided in a template. If formulas do not have the same form, the functions returns an error.

Usage

match_template(formula, template)

Arguments

formula, template

formulas of the same form, i.e., equal up to their variable names.

Value

A named character vector with the variable names in formula as values and the corresponding variable names in the template as names.


Almond-S/manifoldboost documentation built on June 23, 2022, 11:06 a.m.