as_count: Set Pretty/Count Printing of a term_count Object

Description Usage Arguments Details Value See Also Examples

Description

as_count - Set the pretty printing of a term_count object. Either print pretty as a combination of count and percent/proportion or as just counts.

pretty<- - Set the pretty/count printing of a term_count object.

Usage

1
2
3
as_count(x, value = FALSE)

as_count(x) <- value

Arguments

x

A term_count object.

value

logical. If TRUE the object will attempt to be printed pretty.

Details

Note that pretty printing can be turned off globally by setting options(termco_pretty = FALSE).

Value

Returns a term_count with the pretty attributes set.

See Also

as_count

Examples

1
2
3
4
out <- as_count(markers, FALSE)
out
as_count(out) <- TRUE
out

trinker/termco documentation built on Jan. 7, 2022, 3:32 a.m.