BiologicalRecordsCentre / sparta

Species Presence/Absence R Trends Analyses
http://biologicalrecordscentre.github.io/sparta/index.html
MIT License
21 stars 24 forks source link

Return a list of sites selected by occDetFunc #109

Closed FrancescaMancini closed 5 years ago

FrancescaMancini commented 5 years ago
 out$sites_included <- site_match[site_match$new_site_name %in% as.numeric(sites_to_include), "original_site"]

The object returned by occDetFunc now includes a list of those sites that were selected and that have been included in the model.

codecov-io commented 5 years ago

Codecov Report

Merging #109 into master will increase coverage by 0.02%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #109      +/-   ##
==========================================
+ Coverage   28.49%   28.51%   +0.02%     
==========================================
  Files          79       79              
  Lines        2692     2693       +1     
==========================================
+ Hits          767      768       +1     
  Misses       1925     1925
Impacted Files Coverage Δ
R/occDetFunc.r 76.77% <100%> (+0.11%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 5e21fa8...c07a6c0. Read the comment docs.

AugustT commented 5 years ago

Great work!