📅  最后修改于: 2022-03-11 15:04:44.044000             🧑  作者: Mango
# Date padding is implemented in the padr package in R. If you store your data frame, with your date-time variable stored as POSIXct or POSIXlt. All you need to do is:
library(padr)
pad(df_name)
# See vignette("padr") or this blog post for its working.