View source: R/check_strictly_positive_vals.R
check_strictly_positive_vals | R Documentation |
Check if compositional variable are strictly greater than 0
check_strictly_positive_vals(dataf, comps, tol = 1e-06)
dataf |
data.frame containing composition variables |
comps |
character vector of composition variable names in dataf |
tol |
a numeric value that compositional values are expected to be greater or equal than. 1e-6 is deafult |
If any compositional values are found to be strictly less than tol
and erro is thrown.
Returns TRUE
invisibly otherwise.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.