format_colvector | R Documentation |
For vec_nlines
, calculate the number of lines each element of a column vector will
take to render. For format_colvector
,
format_colvector(df, colnm, colvec = df[[colnm]])
vec_nlines(vec, max_width = NULL, fontspec = dflt_courier)
## S4 method for signature 'ANY'
vec_nlines(vec, max_width = NULL, fontspec = dflt_courier)
df |
( |
colnm |
( |
colvec |
( |
vec |
( |
max_width |
( |
(numeric
)
a vector of the number of lines element-wise that will be
needed to render the elements of vec
to width max_width
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.