Skip to content

Commit

Permalink
this *might* pass checks on github and cran.
Browse files Browse the repository at this point in the history
  • Loading branch information
d-morrison committed Nov 18, 2023
1 parent a66ab0a commit b740925
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vignettes/articles/simulate_xsectionalData.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,9 @@ csdata0[, 1] <- csdata0[, 1] / day2yr
## Optional - loop over "clusters" and different lambdas

```{r}
library(parallel)
library(doParallel)
registerDoParallel(cores=7)
doParallel::registerDoParallel(cores = max(1, parallel::detectCores() - 1))
nclus <- 10 # number of clusters
nrep <- 100; # cross-sectional sample size
lmbdaVec <- c(.05,.1, .15, .2, .3)
Expand Down

0 comments on commit b740925

Please sign in to comment.