S3method("xtable", "stsls")
S3method("xtable", "summary.stsls")
S3method("xtable", "sarlm.pred")
-###S3method("xtable", "lagImpact")
+S3method("xtable", "lagImpact")
S3method("xtable", "splm")
S3method("xtable", "summary.splm")
S3method("xtable", "sphet")
### This method removed because of the need to copy code to pass CRAN checks
### lagImpactMat is neither exported nor documented in spdep
-### lagImpact objects
-## xtable.lagImpact <- function(x, caption = NULL, label = NULL, align = NULL,
-## digits = NULL, display = NULL,
-## auto = FALSE, ...) {
-## xtable(spdep:::lagImpactMat(x), caption = caption, label = label,
-## align = align, digits = digits,
-## display = display, auto = auto, ...)
-## }
+###lagImpact objects
+xtable.lagImpact <- function(x, caption = NULL, label = NULL, align = NULL,
+ digits = NULL, display = NULL,
+ auto = FALSE, ...) {
+ xtable(lagImpactMat(x), caption = caption, label = label,
+ align = align, digits = digits,
+ display = display, auto = auto, ...)
+}
### package splm
### splm objects
xtable(p2)\r
@ %def\r
\r
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\r
-%% xtable.lagImpactMat removed because of problems with unexported function\r
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\r
+\subsubsection{\code{lagImpact} objects}\r
+\label{sec:codelagimpact-objects}\r
\r
-%% \subsubsection{\code{lagImpact} objects}\r
-%% \label{sec:codelagimpact-objects}\r
+The \code{xtable} method returns the values of direct, indirect and\r
+total impacts for all the variables in the model. The class\r
+\code{lagImpact} has two different sets of attributes according to if\r
+simulations are used. But the \code{xtable} method always returns the\r
+three components of the non-simulation case.\r
\r
-%% The \code{xtable} method returns the values of direct, indirect and\r
-%% total impacts for all the variables in the model. The class\r
-%% \code{lagImpact} have two different sets of attributes according to if\r
-%% simulations are used. But the \code{xtable} method always returns the\r
-%% three components of the non-simulation case.\r
-\r
-%% <<xtablelagimpactexact, results = 'asis'>>=\r
-%% xtable(imp.exact)\r
-%% @ %def\r
+<<xtablelagimpactexact, results = 'asis'>>=\r
+xtable(imp.exact)\r
+@ %def\r
\r
-%% \p\r
-%% <<xtablelagimpactmcmc, results = 'asis'>>=\r
-%% xtable(imp.sim)\r
-%% @ %def\r
+\p\r
+<<xtablelagimpactmcmc, results = 'asis'>>=\r
+xtable(imp.sim)\r
+@ %def\r
\r
\r
\subsubsection{\code{spautolm} objects}\r
@ %def\r
\r
\r
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\r
-%% xtable.lagImpactMat removed because of problems with unexported function\r
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\r
\r
-%% The \code{xtable} method works the same on impacts of \code{splm} models.\r
+The \code{xtable} method works the same on impacts of \code{splm} models.\r
\r
-%% <<xtablesplmimpacts, results = 'asis'>>=\r
-%% xtable(imp.spml)\r
-%% @ %def\r
+<<xtablesplmimpacts, results = 'asis'>>=\r
+xtable(imp.spml)\r
+@ %def\r
\r
\subsection{The package \pkg{sphet}}\r
\label{sec:package-pkgsphet}\r
xtable(res.gstsls)\r
@ %def\r
\r
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\r
-%% xtable.lagImpactMat removed because of problems with unexported function\r
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\r
-%% \code{sphet} also provides a method for computing impacts.\r
\r
-%% <<xtablesphetimpacts, results = 'asis'>>=\r
-%% xtable(imp.gstsls)\r
-%% @ %def\r
+\code{sphet} also provides a method for computing impacts.\r
+\r
+<<xtablesphetimpacts, results = 'asis'>>=\r
+xtable(imp.gstsls)\r
+@ %def\r
\r
\section{The \pkg{zoo} package}\r
\label{sec:pkgzoo-package}\r