estimate_eigenfunctions2: Function to estimate eigenfunctions when there are two...

Description Usage Arguments Value

View source: R/functions.R

Description

Function to estimate eigenfunctions when there are two covariance functions

Usage

1
2
3
4
5
6
7
8
estimate_eigenfunctions2(
  K_b,
  K_w,
  pve1 = 0.95,
  pve2 = 0.95,
  fix_num_of_functions1 = NA,
  fix_num_of_functions2 = NA
)

Arguments

K_b

: Covariance matrix for the first level component

K_w

: Covariance matrix for the second level component

pve1

: Proportion of variance explained for the first component

pve2

: Proportion of variance explained for the second component

fix_num_of_functions1

if you do not want to used PVE you can fix the number of eigenfunctions to output

fix_num_of_functions2

if you do not want to used PVE you can fix the number of eigenfunctions to output

Value

Eigenfunctions and eigenvalues for both types of covariance functions


acweisha/gFPCAClassif documentation built on Dec. 18, 2021, 10:23 p.m.