left_just | R Documentation |
left_just
- Left justifies a text/character column.
right_just
- A means of undoing a left justification.
left_just(dataframe, column = NULL, keep.class = FALSE)
right_just(dataframe)
dataframe |
A data.frame object with the text column. |
column |
The column to be justified. If |
keep.class |
logical. If |
Returns a dataframe with selected text column left/right justified.
left_just
inserts spaces to achieve the
justification. This could interfere with analysis and therefore the output
from left_just
should only be used for visualization
purposes, not analysis.
## Not run:
left_just(DATA)
left_just(DATA, "state")
left_just(CO2[1:15,])
right_just(left_just(CO2[1:15,]))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.