selectSome | R Documentation |
selectSome
works well in show
methods. It abbreviates a vector input
depending on the maxToShow
argument.
selectSome(
obj,
maxToShow = 5,
ellipsis = "...",
ellipsisPos = c("middle", "end", "start"),
quote = FALSE
)
obj |
character() A vector to be abbreviated for display purposes |
maxToShow |
numeric(1) The maximum number of values to show in the output (default: 5) |
ellipsis |
character(1) The symbol used to abbreviate values in the vector (default: "...") |
ellipsisPos |
character(1) The location for the ellipsis in the output,
by default in the |
quote |
logical(1) Whether or not to add a single quote around the |
An abbreviated output of obj
M. Morgan, H. Pagès
letters
selectSome(letters)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.