Closed LHMarshall closed 10 months ago
Same issue NOT present when only running with segmented grid design
region <- make.region()
design <- make.design(design = "segmentedgrid",
seg.length = 100,
spacing = 100,
seg.threshold = 0)
sim <- make.simulation(reps=3,
design = design)
eg.survey <- run.survey(sim)
eg.survey@transect
plot(eg.survey)
sim <- run.simulation(sim)
sim
Summary Statistics
mean.Cover.Area mean.Effort mean.n mean.k mean.ER mean.se.ER sd.mean.ER
1 466359.5 4663.595 276.3333 60 0.05916141 0.003320093 0.004456591
Computer didn't have the latest version of dsims so main issue appears to have been fixed already and only a small bug when the simulation summary is completed.
Transect generation appears correct
As does transect IDs within the generated transect shape object
Number of transects is displayed as around 100 for the segmented design
However in the simulation results - the mean.k is always 15 (this is correct for strat1 and strat2 but strat3 and strat4 should be ~100) ER se also seems to reflect the wrong k values
Checking the survey data I can see that the transect IDs are wrong in there
Reproducible example