# NOT RUN {
dat_list <- r4ss::SS_readdat(verbose = FALSE,
file = system.file(file.path("extdata", "models", "cod-om", "codOM.dat"),
package="ss3sim"))
## Generate with constant sample size across years
ex1 <- sample_lcomp(dat_list=dat_list, outfile = NULL,
fleets = 1:2, Nsamp = list(100, 50),
years=list(seq(26, 100, by = 2), 80:100))
# }
Run the code above in your browser using DataLab