MakeMfdProcess: Simulate a manifold-valued process

View source: R/Simulation.R

MakeMfdProcessR Documentation

Simulate a manifold-valued process

Description

Simulate a manifold-valued process

Usage

MakeMfdProcess(
  mfd,
  n,
  mu,
  pts = seq(0, 1, length.out = ncol(mu)),
  K = 2,
  lambda = rep(1, K),
  sigma2 = 0,
  xiFun = stats::rnorm,
  epsFun = stats::rnorm,
  epsBase = c("mu", "X"),
  basisType = c("cos", "sin", "fourier", "legendre01")
)

Arguments

mfd

An object whose class specifies the manifold to use

n

The number of curves

mu

A matrix that specifies the mean function. Each column stands for a manifold-valued data point

pts

The time points

K

The number of components to simulate

lambda

The eigenvalues

sigma2

The variance for the isotropic measurement errors

xiFun

The distribution of the RFPC scores

epsFun

The distribution of the measurement errors

epsBase

The base point of the (tangent) measurement errors.

basisType

The type of basis on the tangent spaces


CrossD/RFPCA documentation built on Aug. 24, 2023, 4:42 p.m.