View source: R/metricsMethods.R
ratioAreaMethod | R Documentation |
Calculate and return the ratio of profiles area
between two profiles covering the same range. The
area of the first profile is always divided by the area of
the second profile.If one area value is inferior to the threshold, the
function returns NA
.
ratioAreaMethod(profile1, profile2, threshold = 1)
profile1 |
a |
profile2 |
a |
threshold |
a |
The calculated ratio or NA
if one profile area value is
inferior to the threshold.
Astrid Deschenes, Elsa Bernatchez
MetricFactory
for using the recommanded interface to
calculate all available metrics separately or togheter.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.