coeff_var: Coefficient of variation

View source: R/coeff_var.R

coeff_varR Documentation

Coefficient of variation

Description

This function calculates the coefficient of variation, defined as the standard deviation divided by the mean.

Usage

coeff_var(lightVar, na_rm = TRUE, as_df = TRUE)

Arguments

lightVar

Numeric vector containing the light data.

na_rm

Logical. Should missing light values be removed? Defaults to TRUE.

as_df

Logical. Should the output be returned as a data frame? Defaults to TRUE.

Value

Data frame or numeric vector.


steffenhartmeyer/lightdosimetry documentation built on Jan. 29, 2024, 12:48 p.m.