6、R语言,调用自编函数 #选择日期的格式mydate switch(type, long = format(Sys.time(), "%A %B %d %Y"), short = format(Sys.time(), "%m-%d-%y"), cat(type, "is not a recognized type\n") ) R语言 2023-12-21 42 点赞 0 评论 63 浏览