Giter Site home page Giter Site logo

Comments (10)

dmcglinn avatar dmcglinn commented on May 22, 2024

I've also been getting some additional errors from the SpadeR:::ChaoSpecies function. This function is used to estimate the asymptotic size of the species pool. I'm not sure why it is giving us so much trouble because we do something similar in the null model portion of the analysis in which we generate the species pool's SAD. My feeling for the time being is that you should go in and just comment out any of the computations of extrapolated S. This was not a key interest of the working groups as we all agree that S never truely saturates - the concept is only useful in our opinion as a means to an ends for generating the SAD a for a pooled set of plots. @FelixMay did someone in the group encourage you to add those computations?

from mobr.

rueuntal avatar rueuntal commented on May 22, 2024

Is this only a problem in boxplot, not in the main function?

from mobr.

dmcglinn avatar dmcglinn commented on May 22, 2024

yea just the boxplots

from mobr.

dmcglinn avatar dmcglinn commented on May 22, 2024

@FelixMay wrote a function called mob_stats which computes a ton of useful statistics which are then fed into the boxplot function. Within that mob_stats function is where the trouble is.

from mobr.

rueuntal avatar rueuntal commented on May 22, 2024

OK I'll leave it to @FelixMay then :)

Just by reading the code I suspect the problem occurs because here Chao estimator is applied to plot-level data, while in our null test Chao's method is applied to the overall SAD lumped across all plots and all groups, which is less prone to have an extreme distribution as @valentinitnelav reported.

from mobr.

dmcglinn avatar dmcglinn commented on May 22, 2024

Yea I think you're correct. I tried to rescue it from errors but requiring plot N be greater than 4 but likely there are other criteria that will need to be met as well. It would be nice if there was an easy way to try to compute the ChaoS for a plot and if there is no error then assign it otherwise give it an NA. Now if it hits an error the function just stops.

from mobr.

rueuntal avatar rueuntal commented on May 22, 2024

Hmmm do we want to remove the bit or try to fix it? If we want to fix it I can dig into Chao's paper to what they did exactly.

from mobr.

dmcglinn avatar dmcglinn commented on May 22, 2024

I don't think that's necessary. I was thinking that this could possibly be accomplished programmatically using a function like try.

from mobr.

rueuntal avatar rueuntal commented on May 22, 2024

Sounds good.

from mobr.

FelixMay avatar FelixMay commented on May 22, 2024

Should be fixed with #132

from mobr.

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.