Skip to content

Commit

Permalink
Merge pull request #148 from Yangshen0325/develop
Browse files Browse the repository at this point in the history
Fix #147
  • Loading branch information
Neves-P authored Sep 13, 2022
2 parents dbd0a9e + 19c3673 commit e1c13d3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion R/DAISIE_sim_cr_iw.R
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ DAISIE_sim_cr_iw <- function(total_time,
hyper_pars = hyper_pars,
area_pars = area_pars
)
stac_vec <- unlist(island_replicates)[which(names(unlist(island_replicates)) == "taxon_list.stac")]
temp_island_replicates <- island_replicates[[rep]]
stac_vec <- unlist(temp_island_replicates)[which(names(unlist(temp_island_replicates)) == "taxon_list.stac")]
present <- which(stac_vec != 0)
number_present <- length(present)
}
Expand Down

0 comments on commit e1c13d3

Please sign in to comment.