-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
Line 98 in f96cd9d
| sim <- do.call(paste0("make_sim_",fit$method), |
Hi, I'm finding these compound do.call() lines a bit hard to reason about. Can I suggest splitting them up e.g.
make_sim_fns <- paste0("make_sim_", fit$method)
make_sim_args <- list(m=m,t=t,X=X,nsim=nsim,newdata=newdata,dist=dist,data=data,
formula=fit$misc$formula,
summary_stat=summary_stat)
sim <- do.call(make_sim_fns, args = make_sim_args)
Thanks!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels