I have the summary of ur.df
function within urca
package and I want to get it in Tex format. I obtained the summary by the following command
DF_infl <- summary(ur.df(infl, type = "none", lags = 0))
I tried to use xtable
package to import the output of summary but since it is a sumurca
class of object, it is not possible to use xtable
command here. I was looking for ways to transform sumurca
class of object to xtable.data.frame
which is supported by xtable
command but could not find the solution.
Error in UseMethod("xtable") :
no applicable method for 'xtable' applied to an object of class "sumurca"
How can I do that or export output of summary
to Latex in some other way?
Thanks in advance!