aboutsummaryrefslogtreecommitdiff
path: root/R
diff options
context:
space:
mode:
Diffstat (limited to 'R')
-rw-r--r--R/gmkinws.R7
1 files changed, 7 insertions, 0 deletions
diff --git a/R/gmkinws.R b/R/gmkinws.R
index 9ef68e1..f43c8a1 100644
--- a/R/gmkinws.R
+++ b/R/gmkinws.R
@@ -131,6 +131,13 @@ gmkinws <- R6Class("gmkinws",
invisible(self)
},
+ add_f = function(f) {
+ if (is.na(self$f[1])) self$f <- plyr::compact(f)
+ else self$f = append(self$f, plyr::compact(f))
+
+ invisible(self)
+ },
+
delete_f = function(i) {
if (any(sapply(self$f[i], is.null)))
stop("Could not delete fit(s) ", paste(i, collapse = ", "))

Contact - Imprint