Closed cls3415 closed 3 years ago
Figure out why. I should have put n.threads = 1L in both args.rsp and args.trt arguments. The following command works:
fit <- bartc(dat2$Y, dat2$TREAT1, dat2[,var1], n.chains = 2L, seed = 100223, keepTrees = TRUE, args.rsp = list(n.threads = 1L),
args.trt = list(n.threads = 1L))
Hi Vincent- I used n.threads = 1L as augment in bartc function, but the function used all cores of the machine.
Thanks!