Comments (10)
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.
Is this only a problem in boxplot, not in the main function?
from mobr.
yea just the boxplots
from mobr.
@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.
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.
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.
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.
I don't think that's necessary. I was thinking that this could possibly be accomplished programmatically using a function like try
.
from mobr.
Sounds good.
from mobr.
Should be fixed with #132
from mobr.
Related Issues (20)
- improve make_mob_in() function when spatial coordinates not available HOT 10
- Prepare for CRAN submission
- rarefaction dens_ratio argument HOT 1
- Add formula specification method for mob stats
- readme needs updating
- Extract direction of 'effect size' (D-bar) HOT 3
- make it clearer how statistics can be accessed
- Warning needed: Computing and plotting issues when the design is unbalanced HOT 7
- kNCN method not using great circle distances
- todo: post v2.0 release HOT 4
- beta diversity calculations HOT 10
- effort = NA by default in calc_comm_div and calc_div leads to not so indicative error messages
- Negative S_PIE values when very small non integer abundances HOT 11
- Wrong result from calc_SPIE when there are only singletons HOT 2
- "mob" in the headlines HOT 2
- vignette and documentation todo HOT 4
- betaC calculation should richness be extrapolated? HOT 4
- Error in `get_delta_stats` for calculating density effects when dens_ratio < 1
- calculation of betaC fails when there are at least 1 doubleton but no singletons HOT 2
- towards more consistent computation of alpha, gamma, and beta diversity HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mobr.