describe: Describe attributes of a 'tm' vector

View source: R/terms.R

describeR Documentation

Describe attributes of a tm vector

Description

Describe attributes of a tm vector

Usage

describe(x, property)

Arguments

x

A vector tm objects

property

A character vector of the following attributes of a tm object: role, side, label, group, description, type, distribution

Value

A list of term = property pairs, where the term is the name of the element (e.g. could be the ‘role’ of the term).

Examples

f <- .o(output) ~ .x(input) + .m(mediator) + random
t <- tm(f)
describe(t, "role")


asshah4/octomod documentation built on June 4, 2024, 12:48 p.m.