[Experimental] Create a job file for faststructure package

strc_create_jobs(
  nk = 1:4,
  nrep = 3,
  popnum = 1,
  burn = 1000,
  iteration = 10000
)

Arguments

nk

Numeric vector of the K values to be tested

nrep

Number of repetition at each K values

popnum

Numeric vector of the pop that you want to use

burn

Number of burnin

iteration

Number of iteration

Details

more details to come ...

Examples

# create a new job job1 <- strc_create_jobs(nk = 1:2, nrep = 3, popnum = 1:2, burn = 1000, iteration = 10000)
#> #> Creating 6 jobs: #> K = 1 - 2 #> N rep = 3 #> Burning = 1000 #> MCMC = 10000 #>
job1
#> jobID pop k burnin MCMC #> 1 k1_r1 1,2 1 1000 10000 #> 2 k2_r1 1,2 2 1000 10000 #> 3 k1_r2 1,2 1 1000 10000 #> 4 k2_r2 1,2 2 1000 10000 #> 5 k1_r3 1,2 1 1000 10000 #> 6 k2_r3 1,2 2 1000 10000
# write(t(jobs1), ncol=length(jobs1[1,]), file='path/to/file.txt')