From: Benjamin Auder Date: Fri, 20 Dec 2019 22:34:42 +0000 (+0100) Subject: Fix typo in multistart.R X-Git-Url: https://git.auder.net/img/css/pieces/assets/current/gitweb.js?a=commitdiff_plain;h=147b2ef3c1def913673ab2333ac629bafaff1360;p=morpheus.git Fix typo in multistart.R --- diff --git a/reports/multistart.R b/reports/multistart.R index e8a9300..73df538 100644 --- a/reports/multistart.R +++ b/reports/multistart.R @@ -9,7 +9,7 @@ testMultistart <- function(N, n, p, beta, b, link, nstart, ncores) # 1 start library(morpheus) K <- ncol(fargs$beta) - mu <- computeMu(io$X, io$Y, list(K=K, M=fargs$M)) + mu <- computeMu(fargs$X, fargs$Y, list(K=K, M=fargs$M)) op <- optimParams(fargs$X, fargs$Y, K, fargs$link, fargs$M) x_init <- list(p=rep(1/K,K-1), beta=mu, b=rep(0,K)) res2 <- NULL