round_time | R Documentation |
针对日期数据进行取舍
round_time(x, unit = c("hour", "min"))
x |
原始数据,完整时间类型的字符向量 |
unit |
四舍五入的单位 |
返回值
round_time('9:12:05','min');
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.