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

Select frequency in cross table #49

Open
kamapu opened this issue Jan 31, 2024 · 1 comment
Open

Select frequency in cross table #49

kamapu opened this issue Jan 31, 2024 · 1 comment
Assignees

Comments

@kamapu
Copy link
Owner

kamapu commented Jan 31, 2024

Add argument min_freq in crosstable() allowing to filter rare species in the same step.

@kamapu kamapu self-assigned this Jan 31, 2024
@kamapu
Copy link
Owner Author

kamapu commented Jan 31, 2024

This feature is not feasible in this form. Instead, an additional function (e.g. sort_by_freq()) needs to be designed with following parameters:

  • formula (used to aggregate and indicating the taxonomic rank.
  • data (vegtable object but maybe also a matrix)
  • decreasing allowing decreasing sorting of taxa
  • logical expression, for instance to select by frequency values

This function won't only calculate frequencies but sort them and select according to the expression.

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

When branches are created from issues, their pull requests are automatically linked.

1 participant