new_term {term}R 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["))

[Package term version 0.3.5 Index]