我一直在試圖將年份月份作爲新列添加到我的以下示例數據集中。 time site
1 1/01/2000 A
2 1/02/2000 A
3 1/03/2000 A
4 1/04/2000 A
5 1/05/2000 A
6 1/06/2000 A
7 1/07/2000 A
8 1/08/2000 A
9 1/09/2000 A
10 1/10/2000 A
11 1/11
我想繪製日期,x和y在R中的3D圖中(使用RStudio 0.99.903),R(3.3.2),scatterplot3d(0.3-40),rgl( 0.98.1) dates = c("2016-11-10","2016-11-20","2016-12-01","2016-12-15","2016-12-30")
x = rnorm(5,0,1)
y = rnorm(5,1,2)
A