ergm_mk_std_op_namewrap: Combine an operator term's and a subterm's name in a standard...

View source: R/InitErgmTerm.operator.R

ergm_mk_std_op_namewrapR Documentation

Combine an operator term's and a subterm's name in a standard fashion.

Description

Combine an operator term's and a subterm's name in a standard fashion.

Usage

ergm_mk_std_op_namewrap(opname, opargs = NULL)

Arguments

opname

Name of the operator (or an abbreviation thereof).

opargs

A character vector describing arguments passed to the operator (excluding the model); if lengths exceeds one, will be concatenated with commas.

Value

A function with 1 required argument, subterms and one optional argument, subargs, returning a character vector of length equal to the length of subterms wrapped in the operator's name and arguments appropriately.


ergm documentation built on June 2, 2022, 1:07 a.m.