Standardized: Standardized basis

View source: R/basis.R

StandardizedR Documentation

Standardized basis

Description

Standardize a numeric vector by centering and scaling, handling NAs appropriately. If the computed standard deviation is NA or zero, a small constant (1e-6) is used instead to avoid division by zero. The returned basis matrix has one column with this standardized name.

Usage

Standardized(x)

Arguments

x

a numeric vector to standardize. Missing values are allowed and will be replaced with 0 after standardization.

Value

an instance of class Standardized extending ParametricBasis


bbuchsbaum/fmrireg documentation built on June 10, 2025, 8:18 p.m.