Description Usage Arguments Details
Formateer een R object voor mooie weergave.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36  | format2(x, ...)
## Default S3 method:
format2(x, format = "d mmmm yyyy", percent = FALSE,
  round = ifelse(percent, 1, 2), force.decimals = ifelse(percent, TRUE,
  FALSE), format.NL = Sys.isdecimalcomma(), ...)
## S3 method for class 'percent'
format2(x, round = 1, force.decimals = TRUE,
  format.NL = Sys.isdecimalcomma(), ...)
## S3 method for class 'POSIXct'
format2(x, format = "d mmmm yyyy", ...)
## S3 method for class 'POSIXlt'
format2(x, format = "d mmmm yyyy", ...)
## S3 method for class 'POSIXt'
format2(x, format = "HH:MM:SS", ...)
## S3 method for class 'hms'
format2(x, format = "HH:MM:SS", round = 2,
  force.decimals = FALSE, format.NL = Sys.isdecimalcomma(), ...)
## S3 method for class 'difftime'
format2(x, round = 2, force.decimals = FALSE,
  format.NL = Sys.isdecimalcomma(), ...)
## S3 method for class 'Date'
format2(x, format = "d mmmm yyyy", ...)
## S3 method for class 'numeric'
format2(x, round = ifelse(percent, 1, 2),
  force.decimals = ifelse(percent, TRUE, FALSE),
  non.scientific = FALSE, format.NL = Sys.isdecimalcomma(),
  min.length = 0, percent = FALSE, ...)
 | 
x | 
 Waarde(n) die getransformeerd moet(en) worden.  | 
format | 
 Formaat dat gebruikt moet worden. Ondersteunt leesbare formaten zoals   | 
round | 
 Aantal decimalen waarop afgerond moet worden.  | 
force.decimals | 
 Forceren van decimale getallen, zelfs als het laatste decimale getal volgens   | 
format.NL | 
 Zie   | 
non.scientific | 
 Met   | 
min.length | 
 De minimale lengte van de output. Dit overschrijft   | 
Zie voor ondersteunde tekst voor de parameter format voor datum en tijd: date_generic.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.