format
not formatC
:
format(round(as.numeric(1000.64), 1), nsmall=1, big.mark=",") # 1,000.6
More Related Contents:
- How to change multiple Date formats in same column?
- Changing date format in R
- Format numbers with million (M) and billion (B) suffixes
- How to write to json with children from R
- Number format, writing 1e-5 instead of 0.00001
- Convert scientific notation to numeric, preserving decimals
- Convert decimal day to HH:MM
- Create a time interval of 15 minutes from minutely data in R?
- Error: could not find function … in R
- Simultaneously merge multiple data.frames in a list
- How to save plots that are made in a shiny app
- Aggregate a data frame based on unordered pairs of columns
- Sample from vector of varying length (including 1)
- Fitting polynomial model to data in R
- How to produce stacked bars within grouped barchart in R [duplicate]
- Make conditionalPanel depend on files uploaded with fileInput
- Get last row of each group in R [duplicate]
- Plot one numeric variable against n numeric variables in n plots
- Set certain values to NA with dplyr
- Cowplot made ggplot2 theme disappear / How to see current ggplot2 theme, and restore the default?
- Faster weighted sampling without replacement
- Error in file(file, “rt”) : cannot open the connection [duplicate]
- What’s the difference between `1L` and `1`?
- How to deal with “data of class uneval” error from ggplot2?
- Issue with ggplot2, geom_bar, and position=”dodge”: stacked has correct y values, dodged does not
- Drawing a barchart to compare two sets of data using ggplot2 package?
- Applying a function to each row of a data.table
- R: Calculate cosine distance from a term-document matrix with tm and proxy
- Programming-safe version of subset – to evaluate its condition while called from another function
- ggplot2 – using two different color scales for overlayed plots