safe_mean: Safe Mean

View source: R/utils.R

safe_meanR Documentation

Safe Mean

Description

Calculate mean with handling for empty vectors.

Usage

safe_mean(x)

Arguments

x

Numeric vector.

Value

Mean value or NA if vector is empty.


Nestimate documentation built on April 20, 2026, 5:06 p.m.