get_corr_eigen: Get True eigenfunction for simulation of the spatially...

View source: R/sim_corr.R

get_corr_eigenR Documentation

Get True eigenfunction for simulation of the spatially correlated case.

Description

True eigenfunctions are obtained for given grids from the spatially correlated case.

Usage

get_corr_eigen(grid)

Arguments

grid

a vector containing the observed timepoints.

Value

a p x 4 matrix containing the eigenfunctions where p is the length of grids and 4 is the number of true components.

Examples

gr <- seq(0, 1, length.out = 51)
eig.true <- get_corr_eigen(gr)
matplot(eig.true, type = "l")


statKim/robfpca documentation built on April 15, 2023, 10:12 p.m.