process_zeroes: Process zeroes argument

View source: R/utils.R

process_zeroesR Documentation

Process zeroes argument

Description

Process zeroes argument

Usage

process_zeroes(data, comp_labels, rounded_zeroes, det_limit = NULL)

Arguments

data

Dataset to have zeroes imputed for.

comp_labels

The labels of the compositional columns.

rounded_zeroes

Are zeroes rounded zeroes?

det_limit

Detection limit if zeroes are to be imputed. This is needed when rounded_zeroes is TRUE. It should be the minimum measurable value in the compositional columns of data, and should be on the same scale as the (input) compositional columns. If rounded_zeroes is TRUE and there are zero values in the data, it throws an error. If the compositional columns do not have a constant sum, it also throws an error, as it cannot be automatically rescaled. Embedded zero imputation is for convenience only. It may be advisable to perform zero imputation prior to working with the data, particularly in more complex cases.


OxWearables/epicoda documentation built on Dec. 7, 2022, 9:07 p.m.