From 4a6beafe6ca119500232ecda4b5672dd4a1877c2 Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Thu, 22 Oct 2020 12:34:40 +0200 Subject: 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(). --- R/add_err.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'R/add_err.R') 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) -- cgit v1.2.1