Learn R Programming

teal.slice (version 0.5.1)

make_count_text: Build count text

Description

Returns a text label describing filtered counts. The text is composed in the following way:

  • when countnow is not NULL: <label> (<countnow>/<countmax>)

  • when countnow is NULL: <label> (<countmax>)

Usage

make_count_text(label, countmax, countnow = NULL)

Value

A character string.

Arguments

label

(character(1)) Text displayed before counts.

countmax

(numeric(1)) Number of unfiltered counts.

countnow

(numeric(1)) Number of filtered counts.