Skip to content
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

Matrix building - exclude empty groups #234

Closed
GoogleCodeExporter opened this issue Mar 27, 2015 · 8 comments
Closed

Matrix building - exclude empty groups #234

GoogleCodeExporter opened this issue Mar 27, 2015 · 8 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1.  Run a cluster analysis with a basedata containing empty groups.

What is the expected output? What do you see instead?

The resultant cluster tree contains empty groups.  These should in reality be 
undefined (in terms of clustering and related analyses).  

This is related to issue #228, but fixing this aspect will be more general as 
some indices can be used to cluster but are valid for spatial analyses where 
the neighbour set contains only empty groups (e.g. Simpson and Shannon indices).

In terms of a solution, there are two options.
  1.  Add a condition to the definition query for each cluster analysis (either exposed or implicit).
  2.  Add an option to Biodiverse::Spatial::sp_calc to exclude empty groups from the elements to calc.

The latter requires less coding and follows from issue #223.  

Original issue reported on code.google.com by shawnlaffan on 25 Apr 2011 at 4:54

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants