Skip to content

Commit 30c0b48

Browse files
committed
Fix an error on peer_ocu with misplaced parentheses
1 parent 3ae8e5b commit 30c0b48

File tree

4 files changed

+11494
-11493
lines changed

4 files changed

+11494
-11493
lines changed

R/peer_ocu.R

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -258,9 +258,9 @@ peer_ocu <- function(data = "choose",
258258
mu_p = c(qnorm(inits_fixed[1]/2), log(inits_fixed[2]), inits_fixed[3]),
259259
sigma = c(1.0, 1.0, 1.0),
260260
rho_p = rep(qnorm(inits_fixed[1]/2), numSubjs),
261-
tau_p = rep(log(inits_fixed[2]), numSubjs,
262-
ocu_p = rep(inits_fixed[3]), numSubjs)
263-
)
261+
tau_p = rep(log(inits_fixed[2]), numSubjs),
262+
ocu_p = rep(inits_fixed[3], numSubjs)
263+
)
264264
}
265265
} else {
266266
genInitList <- "random"

inst/NEWS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
Oct 9, 2018 (0.6.1)
22
* Solve an issue with built binary files.
3+
* Fix an error on peer_ocu with misplaced parentheses.
34

45
Sep 11, 2018 (0.6.0)
56
* Add new tasks (Balloon Analogue Risk Task, Choice under Risk and Ambiguity Task, Probabilistic Selection Task, Risky Decision Task (a.k.a. Happiness task), Wisconsin Card Sorting Task)

0 commit comments

Comments
 (0)