knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
The formats associated with a data frame can be easily extracted or
assigned with the
formats() function. This function returns or accepts
a named list of formatting objects. The names of the list items
correspond to the names of the columns in the data frame. This function is
useful when you want to assign formats to many columns.
fattr() function helps assign formatting attributes to a vector or
data frame column. The
fattr() function can assign the format, label,
and justify attributes all at once. These attributes are passed in as
arguments to the
fattr() function, instead of as properties on a call
fmtr package contains several other functions for setting attributes
easily. These include the
justification() functions to set
column labels, columns descriptions, column widths, and column justification
on an entire data frame. The package
also includes class testing functions like
Next: Helper Functions
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.