check_strictly_positive_vals: Check if compositional variable are strictly greater than 0

View source: R/check_strictly_positive_vals.R

check_strictly_positive_valsR 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.


tystan/deltacomp documentation built on Oct. 26, 2022, 7:24 a.m.