Digits in format and formatc in r

Code examples

0
0

digits in format and formatc in r

format(x, digits = y) #y = no. of significant figure 

formatC(x, format = NULL, digits = y) 
#format = g #Fixed format unless sci save space
#		= f #Fixed format
#		= e #Sci format
#y = no. of significant figure (sci)
#  = no. of digit after decimal point (fixed)

Similar pages

Similar pages with examples

In other languages

This page is in other languages

Русский
..................................................................................................................
Italiano
..................................................................................................................
Polski
..................................................................................................................
Română
..................................................................................................................
한국어
..................................................................................................................
हिन्दी
..................................................................................................................
Français
..................................................................................................................
Türk
..................................................................................................................
Česk
..................................................................................................................
Português
..................................................................................................................
ไทย
..................................................................................................................
中文
..................................................................................................................
Español
..................................................................................................................
Slovenský
..................................................................................................................
Балгарскі
..................................................................................................................
Íslensk
..................................................................................................................