check_strictly_positive_vals {codaredistlm} | R Documentation |
Check if compositional variable are strictly greater than 0
Description
Check if compositional variable are strictly greater than 0
Usage
check_strictly_positive_vals(dataf, comps, tol = 1e-06)
Arguments
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 |
Value
If any compositional values are found to be strictly less than tol
and erro is thrown.
Returns TRUE
invisibly otherwise.
[Package codaredistlm version 0.1.0 Index]