Skip to content

Update of mobr from 2.0.2 to 3.0.0 #273

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 51 commits into from
Aug 8, 2024
Merged

Update of mobr from 2.0.2 to 3.0.0 #273

merged 51 commits into from
Aug 8, 2024

Conversation

dmcglinn
Copy link
Member

@dmcglinn dmcglinn commented Aug 8, 2024

Major update

new features

  • calc_comm_div now replaces get_mob_stats. The ancillary plotting function
    plot.mob_stats is now replaced with plot_comm_div. We hope to eventually
    add back in bootstrapping confidence intervals for the statistics but that is
    not currently supported. If you would like to know more about this design
    decision see the discussion here: beta diversity calculations #255.
  • plot_rarefaction is a bit more versatile with many new arguments
    that provide options for smoothing or averaging rarefaction curves
    when making comparisons within or between groups respectively.
  • The R package beta_C by Thore Engel has now been absorbed into
    the mobr package. Use function calc_beta_div or calc_comm_div
    with beta in the scales argument to compute coverage based beta
    diversity. Note the index in this case is S_C (i.e., richness S for a
    given level of coverage C)
  • a vignette was added to demonstrate how to make computations of beta
    diversity using mobr called beta_div_demo

dmcglinn and others added 30 commits November 5, 2020 13:58
…ing group variable.

Note get_mob_stats broken in this snapshot
Analysis still in progress
control for fail when effort = NA and index = 'S_n'
- remove ENS argument from calc_PIE() and instead write a new function calc_SPIE()
- both functions get a "replace" argument
- throw an error for non-integer values
- throw an error when NA's are produced
- throw error when ENS argument is supplied
-update documentation

48224b3#commitcomment-43913975
…unction calc_PIE and calc_SPIE. Other code style changes and improved documentation.
- both functions get the replace argument
- use calc_SPIE when index="S_PIE
- documentation

#258 (comment)
- adapt warning to this:
 242625e
- remove repeated word.
- replace "==" by "all.equal" to avoid problems with floating point numbers
Merge beta_C functions into mobr dev branch
This change ports the computation of Heck's formulation of standard devitation for individual based rarefaction found in vegan::rarefy to mobr::rarefaction.
The bug occurs when the effort or number of indivdiauls is larger than observed in the group. In this case rarefaction should return either observed S or extrapolated S which is what this patch allows. The patch was sumbited via: #265 and the bug was documented: #264
dmcglinn and others added 21 commits February 24, 2023 18:48
Spatially-explicit rarefaction
…calc_beta_div which was redundant with calc_comm_div.
…ocumentation of the coverage based methods by citing literature more.
…go on those. Probably need to simplify for time being.
…_div

This function plots the result of the function calc_comm_div. Note there are several helper functions. I made it so that these functions do not expect test results (p-values) only plotting of raw diversity values.
@dmcglinn dmcglinn changed the title Update of mobr from 2.0.0 to 3.0.0 Update of mobr from 2.0.2 to 3.0.0 Aug 8, 2024
@dmcglinn dmcglinn merged commit 8147630 into master Aug 8, 2024
@dmcglinn dmcglinn deleted the dev branch August 8, 2024 23:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants