Learn R Programming

fdars (version 0.3.3)

[.fdata: Subset method for fdata objects

Description

Subset method for fdata objects

Usage

# S3 method for fdata
[(x, i, j, drop = FALSE)

Value

An fdata object containing the selected subset.

Arguments

x

An object of class 'fdata'.

i

Row indices (which curves to keep).

j

Column indices (which time points to keep).

drop

Logical. If TRUE and only one curve selected, return vector.