diff options
author | Johannes Ranke <jranke@uni-bremen.de> | 2020-10-22 12:34:40 +0200 |
---|---|---|
committer | Johannes Ranke <jranke@uni-bremen.de> | 2020-10-22 12:34:40 +0200 |
commit | 4a6beafe6ca119500232ecda4b5672dd4a1877c2 (patch) | |
tree | ade255f256a2cebf6262f12f816925ca3ce9944c /R/add_err.R | |
parent | a9c7a1a8322567e9406a59ba0a4f910b89bd05e6 (diff) |
Improve interface to experimental version of nlme
The experimental nlme version in my drat repository contains the
variance function structure varConstProp which makes it possible to use
the two-component error model in generalized nonlinear models using
nlme::gnls() and in mixed effects models using nlme::nlme().
Diffstat (limited to 'R/add_err.R')
-rw-r--r-- | R/add_err.R | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/R/add_err.R b/R/add_err.R index d2092a84..8931a281 100644 --- a/R/add_err.R +++ b/R/add_err.R @@ -72,7 +72,7 @@ #' #' @export add_err <- function(prediction, sdfunc, secondary = c("M1", "M2"), - n = 1000, LOD = 0.1, reps = 2, digits = 1, seed = NA) + n = 10, LOD = 0.1, reps = 2, digits = 1, seed = NA) { if (!is.na(seed)) set.seed(seed) |