You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Need to set seed in the lapply environment. res <- lapply(method_list, function(meth) { set.seed(1) ; get(meth)(x$beta.exposure, x$beta.outcome, x$se.exposure, x$se.outcome, parameters) })
When I use
mr()
to execute analysisThe P-value changed all the time, although slightly different.
What should I set to make the result unchanged?
The text was updated successfully, but these errors were encountered: