roundColumns | R Documentation |
Round Columns to given Number of Digits
roundColumns(
dframe,
columns = NULL,
digits = NULL,
pattern = NULL,
columnNames = NULL
)
dframe |
data frame containing numeric columns to be rounded |
columns |
names of (numeric) columns in |
digits |
number of digits to be rounded to (vector of length 1 expected)
or list of assignments in the form: |
pattern |
regular expression matching the names of the columns to be
rounded. Will only be evaluated if no explicit column names are given in
|
columnNames |
deprecated. Use argument |
dframe
with columns given in columnNames
being rounded
to digits
digits.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.