[Georob-commits] r3 - in pkg: . demo man

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Mon Apr 29 17:27:20 CEST 2013


Author: papritz
Date: 2013-04-29 17:27:19 +0200 (Mon, 29 Apr 2013)
New Revision: 3

Modified:
   pkg/ChangeLog
   pkg/demo/georob_example.R
   pkg/man/plot.georob.Rd
Log:
correction of errors in georob_example.R

M    pkg/demo/georob_example.R
M    pkg/ChangeLog
M    pkg/man/plot.georob.Rd



Modified: pkg/ChangeLog
===================================================================
--- pkg/ChangeLog	2013-04-26 06:58:23 UTC (rev 2)
+++ pkg/ChangeLog	2013-04-29 15:27:19 UTC (rev 3)
@@ -43,3 +43,9 @@
 * georob.private.functions.R (compute.covariances, update.betahat.bhat, estimate.betahat.bhat, compute.estimating equations, georob.fit): new names for robustness weights
 * georob.S3methods.R (ranef.georob, rstandard.georob, summary.georob, print.summary.georob): new names for robustness weights
 * georob.xvalid.R (cv.georob): changes for parallelization on windows os
+
+
+2013-04-29  Andreas Papritz  <papritz at env.ethz.ch>
+
+* georob_example.R: correction of argument names in examples
+

Modified: pkg/demo/georob_example.R
===================================================================
--- pkg/demo/georob_example.R	2013-04-26 06:58:23 UTC (rev 2)
+++ pkg/demo/georob_example.R	2013-04-29 15:27:19 UTC (rev 3)
@@ -118,7 +118,7 @@
 # display of robustness weights
 plot( 
     y~x, meuse, 
-    cex = sqrt( r.logzn.rob$weights ) , asp = 1 
+    cex = sqrt( r.logzn.rob$rweights ) , asp = 1 
 )
 
 
@@ -128,7 +128,7 @@
 
 r.cv.georob.reml<- cv( 
     r.logzn.reml, 
-    seed.for.sets = 1,
+    seed = 1,
     lgn = TRUE, 
     return.fit = TRUE,
     verbose = 0
@@ -137,7 +137,7 @@
 
 r.cv.georob.rob <- cv( 
     r.logzn.rob, 
-    seed.for.sets = 1,
+    seed = 1,
     lgn = TRUE, 
     return.fit = TRUE,
     verbose = 1
@@ -254,7 +254,7 @@
 r.luk.block <- predict( 
     r.logzn.rob,
     newdata = meuse.blocks,
-    type = "observation",
+    type = "response",
     extended.output = TRUE,
     pwidth = 75, pheight = 75
 )
@@ -281,9 +281,7 @@
     at = t.breaks.se, main = "Standardfehler Block-LUK-Vorhersage Zn-Gehalt"
 )
 
-graphics.off()
 
-
 ## 
  # 5. Fitting models to "wolfcamp" data 
  ##

Modified: pkg/man/plot.georob.Rd
===================================================================
--- pkg/man/plot.georob.Rd	2013-04-26 06:58:23 UTC (rev 2)
+++ pkg/man/plot.georob.Rd	2013-04-29 15:27:19 UTC (rev 3)
@@ -19,7 +19,7 @@
 
 \usage{
 \method{plot}{georob}(x, type, plot.sv = TRUE, add = FALSE, lag.class.def, 
-xy.angle.def = c(0, 180), xz.angle.def = c(0, 180), 
+    xy.angle.def = c(0, 180), xz.angle.def = c(0, 180), 
     max.lag = Inf, estimator = c("mad", "qn", "ch", "matheron"), 
     mean.angle = TRUE, col, pch, lty, ...)
 



More information about the Georob-commits mailing list