clean_data: Remove non-finite values from a vector

View source: R/utils.R

clean_dataR Documentation

Remove non-finite values from a vector

Description

Issues a message if any values are removed so the user is aware.

Usage

clean_data(x)

Arguments

x

Numeric vector (possibly containing NA / Inf / NaN).

Value

Numeric vector containing only finite values.


FitVerse documentation built on Dec. 1, 2026, 1:07 a.m.