Learn R Programming

GPFDA (version 1.1)

wrap2: Wrapping function to get same sample for each repeated curve.

Description

Use over fitted functional object to get the data into matrix with same dimension.

Usage

wrap2(data, new.sample = NULL)

Arguments

data
The object from "wrap" or under certain data.table format.
new.sample
The dimension of the new sampled matrix. Default to be the maximum dimension in the data.

Value

  • dataA data.table object

Details

If the dimension of each repeated curve is same, this step is default to be skipped.

See Also

wrap