Comments (6)
from mobr.
It does appear to be because of the reordering b/c I changed this part of the rarefaction function and it returned the correct answer:
# I changed this old line in the function rarefaction
new_order = sample(1:n)
# to this so that the shuffled order stopped
new_order = 1:n
from mobr.
from mobr.
I found the bug, I'm going to submit a PR for this in a few minutes.
from mobr.
I think so on the sensitivity analyses let me first make sure this updated version matches some simple by hand examples to make sure there are no other bugs.
from mobr.
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.