[Splm-commits] r188 - in pkg: . R man

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Wed Jul 16 18:42:49 CEST 2014


Author: the_sculler
Date: 2014-07-16 18:42:49 +0200 (Wed, 16 Jul 2014)
New Revision: 188

Removed:
   pkg/man/write.effects.splm.Rd
Modified:
   pkg/ChangeLog
   pkg/NAMESPACE
   pkg/R/fixed_effects.R
Log:
Removed write.effects.splm()


Modified: pkg/ChangeLog
===================================================================
--- pkg/ChangeLog	2014-07-16 14:59:16 UTC (rev 187)
+++ pkg/ChangeLog	2014-07-16 16:42:49 UTC (rev 188)
@@ -1,5 +1,5 @@
 Changes in Version 1.3.3
- o Implemented new personal information with Authors at R, according to Hornik et al., R Journal 2012(1). Scaled dependence back on R 2.12.0 (because of Authors at R infrastructure) from R 3.0.1. Eliminated calls to nonexported objects from 'spdep' by: 1) eliminating "dead" if condition in spfeml() (spdep:::.spdepOptions); 2) adding local (nonexported) version of the two nonexported functions spdep:::can.be.simmed and spdep:::jacobianSetup (in script nonexportedSpdepFuns.R). 
+ o Implemented new personal information with Authors at R, according to Hornik et al., R Journal 2012(1). Scaled dependence back on R 2.12.0 (because of Authors at R infrastructure) from R 3.0.1. Eliminated calls to nonexported objects from 'spdep' by: 1) eliminating "dead" if condition in spfeml() (spdep:::.spdepOptions); 2) adding local (nonexported) version of the two nonexported functions spdep:::can.be.simmed and spdep:::jacobianSetup (in script nonexportedSpdepFuns.R). Removed write.effects().
 
 Changes in Version 1.3.2
  o Reduced dependencies through selective imports, cleaned up the code from 'require' calls. Now depends only on 'spdep', imports (or importsFrom)  plm, maxLik, MASS, bdsmatrix, ibdreg, nlme, Matrix, spam.

Modified: pkg/NAMESPACE
===================================================================
--- pkg/NAMESPACE	2014-07-16 14:59:16 UTC (rev 187)
+++ pkg/NAMESPACE	2014-07-16 16:42:49 UTC (rev 188)
@@ -12,7 +12,7 @@
 
 
 export(bsktest, sphtest, bsjktest, vcov.splm,
-effects.splm, print.effects.splm, write.effects.splm, 
+effects.splm, print.effects.splm, 
 print.splm, spml, spgm, summary.splm, sphtest, listw2dgCMatrix, spreml)
 
 

Modified: pkg/R/fixed_effects.R
===================================================================
--- pkg/R/fixed_effects.R	2014-07-16 14:59:16 UTC (rev 187)
+++ pkg/R/fixed_effects.R	2014-07-16 16:42:49 UTC (rev 188)
@@ -313,27 +313,3 @@
 }
 	}
 
-
-write.effects.splm <-
-function (x, file = "effects", ncolumns = if (is.character(x)) 1 else 5, 
-    append = FALSE, sep = ","){
-    	object<-x
-	effects<-object$effects
-if(effects=="tpfe"){
-out<-rbind(object$INTTable,object$TETable)
-write(out, file=file, ncolumns=ncolumns, append=append, sep=sep)
-
-}
-	
-if(effects=="spfe"){
-out<-rbind(object$INTTable,object$SETable)
-write(out, file=file, ncolumns=ncolumns, append=append, sep=sep)
-}
-if(effects=="sptpfe"){
-out<-rbind(object$INTTable,object$SETable,object$TETable)
-write(out, file=file, ncolumns=ncolumns, append=append, sep=sep)
-}
-	}
-
-
-

Deleted: pkg/man/write.effects.splm.Rd
===================================================================
--- pkg/man/write.effects.splm.Rd	2014-07-16 14:59:16 UTC (rev 187)
+++ pkg/man/write.effects.splm.Rd	2014-07-16 16:42:49 UTC (rev 188)
@@ -1,60 +0,0 @@
-\name{write.effects.splm}
-\alias{write.effects.splm}
-\title{method for writing a table with fixed effects}
-
-\description{
-Methods used for writing fixed effects to \code{filename}
-}
-
-\usage{
-\method{write}{effects.splm}(x, file = "effects", 
- ncolumns = if (is.character(x)) 1 else 5, 
- append = FALSE, sep = ",")
-}
-
-\arguments{
-\item{x}{an object of class \code{'effects.splm'}}
-\item{file}{name of the file, default set to \code{"effects"}}
-\item{ncolumns}{the number of columns to write the data in}
-\item{append}{if \code{TRUE} the data are appended to the connection}
-\item{sep}{string to separate columns; default is = ","}
-}
-
-\details{
-If the argument \code{object} is not of class \code{effects.splm}
-the function will terminate with an error message.
-
-}
-
-
-\references{
-  Elhorst, J.P. (2003) 
-Specification and estimation of spatial panel data models,
-    \emph{International Regional Science Review}, \bold{26}, pages 244--268.
-
-  Elhorst, J.P. (2009) 
-Spatial panel data models,
-    \emph{In} Fischer, M.M. and Getis, A. (eds),
-    \emph{Handbook of Applied Spatial Analysis} Springer, Berlin.
-
-}
-
-\author{Gianfranco Piras}
-
-\seealso{
-\code{spml}
-}
-\examples{
-## not run
-## data(Produc, package = "Ecdat")
-## data(usaww)
-## fm <- log(gsp) ~ log(pcap) + log(pc) + log(emp) + unemp
-## err <- spml(fm, data = Produc, listw = mat2listw(usaww),
-##  model="within", effect="time", spatial.error="b",
-##  method="eigen", Hess= FALSE)
-## summary(err)
-## eff <- effects(err) 
-## write.effects.splm(eff)
-}
-
-\keyword{spatial}



More information about the Splm-commits mailing list