projects
/
morpheus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e8d970
)
Fix typo in multistart.R
author
Benjamin Auder
<benjamin@auder>
Fri, 20 Dec 2019 22:34:42 +0000
(23:34 +0100)
committer
Benjamin Auder
<benjamin@auder>
Fri, 20 Dec 2019 22:34:42 +0000
(23:34 +0100)
reports/multistart.R
patch
|
blob
|
blame
|
history
diff --git
a/reports/multistart.R
b/reports/multistart.R
index
e8a9300
..
73df538
100644
(file)
--- 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