[Robast-commits] r1139 - in branches/robast-1.2/pkg/RobAStBase: R inst
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Sun Aug 12 23:41:45 CEST 2018
Author: ruckdeschel
Date: 2018-08-12 23:41:45 +0200 (Sun, 12 Aug 2018)
New Revision: 1139
Modified:
branches/robast-1.2/pkg/RobAStBase/R/CheckMakeIC.R
branches/robast-1.2/pkg/RobAStBase/inst/NEWS
Log:
[RobASt] branch 2.8
+ in addition, .filterEargs() also checks if an argument "E.argList" is hidden
in "..." and if so, filters in its entries (and in case of collision overwrites existing entries).
Modified: branches/robast-1.2/pkg/RobAStBase/R/CheckMakeIC.R
===================================================================
--- branches/robast-1.2/pkg/RobAStBase/R/CheckMakeIC.R 2018-08-12 16:34:28 UTC (rev 1138)
+++ branches/robast-1.2/pkg/RobAStBase/R/CheckMakeIC.R 2018-08-12 21:41:45 UTC (rev 1139)
@@ -179,5 +179,14 @@
.filterEargs <- function(dots){
dotsI <- list()
for(item in ..IntegrateArgs) dotsI[[item]] <- dots[[item]]
+ if(!is.null(dots[["E.argList"]])){
+ E.argList <- dots[["E.argList"]]
+ if(is.call(E.argList)) eval(E.argList)
+ if(is.list(E.argList) && length(E.argList)>0){
+ nms.E.argList <- names(E.argList)
+ for( item in nms.E.argList) dotsI[[item]] <- E.argList[[item]]
+ }
+ }
+
return(dotsI)
}
\ No newline at end of file
Modified: branches/robast-1.2/pkg/RobAStBase/inst/NEWS
===================================================================
--- branches/robast-1.2/pkg/RobAStBase/inst/NEWS 2018-08-12 16:34:28 UTC (rev 1138)
+++ branches/robast-1.2/pkg/RobAStBase/inst/NEWS 2018-08-12 21:41:45 UTC (rev 1139)
@@ -86,6 +86,9 @@
used for integration, i.e., currently, c("lowerTruncQuantile", "upperTruncQuantile",
"IQR.fac", "subdivisions", "rel.tol", "abs.tol", "stop.on.error", "order", "useApply")
this is used to filter out arguments from dots which are meant for E()
+ by means of exported helper function .filterEargs(); in addition, .filterEargs()
+ also checks if an argument "E.argList" is hidden in "..." and if so, filters in
+ its entries (and in case of collision overwrites existing entries).
+ getboundedIC now uses coordinate-wise integration with useApply = FALSE and
only computing the upper half of E LL'w
More information about the Robast-commits
mailing list