{
# Run a credible interval test (Bayesian ''t-test'')
credible(samples_LNR, x_name = "m")
# We can also compare between two sets of emc objects
# # Now without a ~ E
# design_null <- design(data = forstmann,model=DDM,
# formula =list(v~0+S,a~1, t0~1, s~1, Z~1, sv~1, SZ~1),
# constants=c(s=log(1)))
#
# null_model <- make_emc(forstmann, design_null)
# null_model <- fit(null_model)
# credible(x = null_model, x_name = "a", y = full_model, y_name = "a")
#
# # Or provide custom functions:
# credible(x = full_model, x_fun = function(d) d["a_Eaccuracy"] - d["a_Eneutral"])
}
Run the code above in your browser using DataLab