Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/date/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
R中重塑的一个月序列的守恒性_R_Date_Reshape - Fatal编程技术网

R中重塑的一个月序列的守恒性

R中重塑的一个月序列的守恒性,r,date,reshape,R,Date,Reshape,里尤决赛 Names = c("Name", "29/01/1992", "29/02/1992", "29/03/1992", "29/04/1992", "29/05/1992", "29/06/1992", "29/07/1992", "29/08/1992", "29/09/1992", "29/10/1992", "29/11/1992", "29/12/1992", "29/01/1993", "28/02/1993", "29/03/1993", "29/04/1993",

里尤决赛

Names = c("Name", "29/01/1992", "29/02/1992", 
"29/03/1992", "29/04/1992", "29/05/1992", "29/06/1992", "29/07/1992", 
"29/08/1992", "29/09/1992", "29/10/1992", "29/11/1992", "29/12/1992", 
"29/01/1993", "28/02/1993", "29/03/1993", "29/04/1993", "29/05/1993", 
"29/06/1993", "29/07/1993", "29/08/1993", "29/09/1993", "29/10/1993", 
"29/11/1993", "29/12/1993", "29/01/1994", "28/02/1994", "29/03/1994", 
"29/04/1994", "29/05/1994", "29/06/1994", "29/07/1994", "29/08/1994", 
"29/09/1994", "29/10/1994", "29/11/1994", "29/12/1994", "29/01/1995", 
"28/02/1995", "29/03/1995", "29/04/1995", "29/05/1995", "29/06/1995", 
"29/07/1995", "29/08/1995", "29/09/1995", "29/10/1995", "29/11/1995", 
"29/12/1995", "29/01/1996", "29/02/1996", "29/03/1996", "29/04/1996", 
"29/05/1996", "29/06/1996", "29/07/1996", "29/08/1996", "29/09/1996", 
"29/10/1996", "29/11/1996", "29/12/1996", "29/01/1997", "28/02/1997", 
"29/03/1997", "29/04/1997", "29/05/1997", "29/06/1997", "29/07/1997", 
"29/08/1997", "29/09/1997", "29/10/1997", "29/11/1997", "29/12/1997", 
"29/01/1998", "28/02/1998", "29/03/1998", "29/04/1998", "29/05/1998", 
"29/06/1998", "29/07/1998", "29/08/1998", "29/09/1998", "29/10/1998", 
"29/11/1998", "29/12/1998", "29/01/1999", "28/02/1999", "29/03/1999", 
"29/04/1999", "29/05/1999", "29/06/1999", "29/07/1999", "29/08/1999", 
"29/09/1999", "29/10/1999", "29/11/1999", "29/12/1999", "29/01/2000", 
"29/02/2000", "29/03/2000", "29/04/2000", "29/05/2000", "29/06/2000", 
"29/07/2000", "29/08/2000", "29/09/2000", "29/10/2000", "29/11/2000", 
"29/12/2000"))), default = structure(list(), class = c("collector_guess", 
"collector"))), .Names = c("cols", "default"), class = "col_spec"), .internal.selfref = <pointer: (nil)>)
Names=c(“Name”、“29/01/1992”、“29/02/1992”,
"29/03/1992", "29/04/1992", "29/05/1992", "29/06/1992", "29/07/1992", 
"29/08/1992", "29/09/1992", "29/10/1992", "29/11/1992", "29/12/1992", 
"29/01/1993", "28/02/1993", "29/03/1993", "29/04/1993", "29/05/1993", 
"29/06/1993", "29/07/1993", "29/08/1993", "29/09/1993", "29/10/1993", 
"29/11/1993", "29/12/1993", "29/01/1994", "28/02/1994", "29/03/1994", 
"29/04/1994", "29/05/1994", "29/06/1994", "29/07/1994", "29/08/1994", 
"29/09/1994", "29/10/1994", "29/11/1994", "29/12/1994", "29/01/1995", 
"28/02/1995", "29/03/1995", "29/04/1995", "29/05/1995", "29/06/1995", 
"29/07/1995", "29/08/1995", "29/09/1995", "29/10/1995", "29/11/1995", 
"29/12/1995", "29/01/1996", "29/02/1996", "29/03/1996", "29/04/1996", 
"29/05/1996", "29/06/1996", "29/07/1996", "29/08/1996", "29/09/1996", 
"29/10/1996", "29/11/1996", "29/12/1996", "29/01/1997", "28/02/1997", 
"29/03/1997", "29/04/1997", "29/05/1997", "29/06/1997", "29/07/1997", 
"29/08/1997", "29/09/1997", "29/10/1997", "29/11/1997", "29/12/1997", 
"29/01/1998", "28/02/1998", "29/03/1998", "29/04/1998", "29/05/1998", 
"29/06/1998", "29/07/1998", "29/08/1998", "29/09/1998", "29/10/1998", 
"29/11/1998", "29/12/1998", "29/01/1999", "28/02/1999", "29/03/1999", 
"29/04/1999", "29/05/1999", "29/06/1999", "29/07/1999", "29/08/1999", 
"29/09/1999", "29/10/1999", "29/11/1999", "29/12/1999", "29/01/2000", 
"29/02/2000", "29/03/2000", "29/04/2000", "29/05/2000", "29/06/2000", 
"29/07/2000", "29/08/2000", "29/09/2000", "29/10/2000", "29/11/2000", 
“29/12/2000”)),默认值=structure(list(),class=c(“收集器”,
“collector”)),.Names=c(“cols”,“default”),class=“col_spec”),.internal.selfref=)
我有一个DF,我想改造成面板DF,这是我的解决方案

reshaped.RI_Final<-  reshape(RI_Final, 
  direction="long", 
  varying=list(names(RI_Final)[2:290]),
  v.names="Value",

  timevar="Month")

reformed.RI\u Final请提供一个可复制的数据示例,例如,通过使用
dput(RI\u Final)
或子样本,我们无法判断发生了什么。我附加了RI(R.s.)。您能检查这是
dput(RI\u Final)
的正确输出吗?我应该能够复制/粘贴数据,但在运行数据时会产生错误。