Git Product home page Git Product logo

Comments (3)

jarioksa avatar jarioksa commented on September 17, 2024

This was caused by commit 53587b2. Got to fix it in rarefy (the change is justified, but need be executed more robustly).

from vegan.

jarioksa avatar jarioksa commented on September 17, 2024

The bug of conditional test was fixed in 991ab91. The feature of warning on requesting subsample larger than the original community still remains. This may trigger warnings in rarecurve. It seems that the old behaviour was documented (and hence intended): The man/diversity.Rd says:

The size of
 \code{sample} should be smaller than total community size, but the
 function will silently work for larger \code{sample} as well and
 return non-rarefied species richness (and standard error = 0).

I haven't changed documentation yet, because we may cancel the new policy of warning. There probably was a reason we did not want to get warnings. Try this and suggest what to do.

from vegan.

jarioksa avatar jarioksa commented on September 17, 2024

The 991ab91 fix seems to cure example(rarecurve) problems. Are there any cases where adding warning in rarefy causes problems, or should we accept the change and update man/diversity.Rd?

from vegan.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.