Metrics - habit/ffg/etc - primary vs. any

Open
#1 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
20/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
r
Domain
data

Research direction

The issue proposes adding primary-only metric outputs and new calculation columns, but does not name relevant files, functions, or tests. First inspect the package’s metric calculation entry points and existing tests to find how current metrics include taxa; then clarify the intended primary-only behavior and output before estimating completion.

Written by the indexing model from the issue text.

Description

enhancement metrics

Is your feature request related to a problem? Please describe.
Code is set up for any CN to be included in Clinger metrics.
Some programs use only primary. So CN and CN, CB would be included but CB, CN would not.

Describe the solution you'd like
Guess another set of metric output. Maybe "1" for "primary" and "8" for "multiple". In Access use infinity sign for "many" side of relationships.

Describe alternatives you've considered
Haven't thought all the way through yet.

Maybe keep current calculations for "many" and only add in "1" for primary only. (Like this solution better).

Additional context
Will need to generate some new columns for calculation of these metrics.

Dominant language
R
Stars
15
Forks
6
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from leppott/BioMonTools

All issues in leppott/BioMonTools

Similar issues

More R issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.