View source: R/ptype-abbr-full.R
| vec_ptype_full | R Documentation | 
vec_ptype_full() displays the full type of the vector. vec_ptype_abbr()
provides an abbreviated summary suitable for use in a column heading.
vec_ptype_full(x, ...)
vec_ptype_abbr(x, ..., prefix_named = FALSE, suffix_shape = TRUE)
| x | A vector. | 
| ... | These dots are for future extensions and must be empty. | 
| prefix_named | If  | 
| suffix_shape | If  | 
A string.
The default method for vec_ptype_full() uses the first element of the
class vector. Override this method if your class has parameters that should
be prominently displayed.
The default method for vec_ptype_abbr() abbreviate()s vec_ptype_full()
to 8 characters. You should almost always override, aiming for 4-6
characters where possible.
These arguments are handled by the generic and not passed to methods:
prefix_named
suffix_shape
cat(vec_ptype_full(1:10))
cat(vec_ptype_full(iris))
cat(vec_ptype_abbr(1:10))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.