Skip to content

Commit a9f1502

Browse files
committed
Merge pull request #9 from bnicenboim/patch-1
Fixed bug in ChangeDetection_Stan.R
2 parents a3d0df6 + 2281e82 commit a9f1502

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Bayesian_Cognitive_Modeling/ParameterEstimation/DataAnalysis/ChangeDetection_Stan.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ parameters <- c("mu", "sigma", "tau")
5757

5858
# The following command calls Stan with specific options.
5959
# For a detailed description type "?rstan".
60-
samples <- stan(fit=samples,
60+
samples <- stan(model_code=model,
6161
data=data,
6262
init=myinits, # If not specified, gives random inits
6363
pars=parameters,

0 commit comments

Comments
 (0)