使用 R,我希望能够将格式为“2014-12-31”的日期转换为整数 20141231,以便创建序列号。
我的目标只是能够完成这个用户问题的反转(将整数字符串日期转换为实际日期)。
感谢所提供的任何帮助。
integer r date
date ×1
integer ×1
r ×1