new_term: Construct a New Term Object

View source: R/new-term.R

new_termR Documentation

Construct a New Term Object

Description

Use this function to quickly construct a term object from a character vector, without checking the input. Use term() to repair the input.

Usage

new_term(x = character())

Arguments

x

A character vector.

See Also

new_term_rcrd()

Examples

new_term()
new_term(c("a", "b[1]", "b[2]"))

# Terms are not checked for validity:
new_term("r[")
repair_terms(new_term("r["))

poissonconsulting/term documentation built on Jan. 22, 2025, 8:02 p.m.