library(plm)
> library(tcltk)
> library(pdR)
> trsp.data=plm.data(pdata)
Warning message:
use of 'plm.data' is discouraged, better use 'pdata.frame' instead
> trsp.data=pdata.frame()
Error in inherits(x, "pdata.frame") :
argument "x" is missing, with no default
> trsp.data=pdata.frame
> summary(trsp.data)
Error in object[[i]] : object of type 'closure' is not subsettable
> help("pdR-package")
> Summary(pdata)
Error in (function (classes, fdef, mtable) :
函数‘Summary’标签‘"data.frame"’找不到继承方法
> summary(pdata.frame)
Error in object[[i]] : object of type 'closure' is not subsettable
代码如图,求大神教