hour2HOUR | R Documentation |
Convert hours (integer) values to HOUR set 'hNN'
hour2HOUR(x, width = 2, prefix = "h", flag = "0")
x |
integer vector, hours (for example, 0-23 for daily data, 0-167 for weekly data, etc.) |
width |
integer, width of the output string |
prefix |
character, prefix to add to the name, default is 'h' |
flag |
character, flag to add to the name, default is '0' |
character vector of the same length as x
with formatted hours to
be used in the HOUR set.
hour2HOUR(0:23)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.