ycheck: Check Data Arrays for Smoothing Functions

View source: R/ycheck.R View source: R/smooth.surp.R

ycheckR Documentation

Check Data Arrays for Smoothing Functions

Description

Check a numeric vector, a matrix or an array of data values for consistency with the number of argument values.

Usage

ycheck(y, n)

Arguments

y

A numeric vector, matrix, or 3D array, with first dimension size n.

n

The number of argument values for smoothing.

Value

Argument y is returned if it checks out, converted to a one-column matrix if the input was a numeric vector.

See Also

smooth.basis1, smooth.monotone, smooth.pos, smooth.monotone, smooth.surp


fda documentation built on May 31, 2023, 9:19 p.m.