Learn R Programming

ergm (version 4.7.1)

ergm_mk_std_op_namewrap: 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)

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.

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.