toInlineString: Convert input to inline class string

View source: R/inline.R

toInlineStringR Documentation

Convert input to inline class string

Description

Convert input to inline class string

Usage

toInlineString(x, n = 5L, class = "val")

Arguments

x

character.

n

integer(1) or Inf. Maximum number of elements to include.

class

character(1). Inline style class.

Value

character(1).

Note

Updated 2021-09-13.

Examples

x <- c("aaa", "bbb", "ccc", "ddd")
x <- toInlineString(x, n = 3L)
x

acidgenomics/r-acidcli documentation built on Oct. 15, 2023, 6:57 p.m.