NoiseTangent: Generate noise on the tangent space

View source: R/NoiseTangent.R

NoiseTangentR Documentation

Generate noise on the tangent space

Description

For each time point (column in mu), generate n isotropic noises distributed as epsFun on the tangent space at mu(t)

Usage

NoiseTangent(mfd, n, mu, sigma2 = 0, epsFun = rnorm)

## S3 method for class 'Sphere'
NoiseTangent(mfd, n, mu, sigma2 = 0, epsFun = stats::rnorm)

## S3 method for class 'Euclidean'
NoiseTangent(mfd, n, mu, sigma2 = 0, epsFun = stats::rnorm)

## S3 method for class 'SPD'
NoiseTangent(mfd, n, mu, sigma2 = 0, epsFun = stats::rnorm)

Arguments

mfd

A manifold object created by createM

n

Sample size

mu

A matrix or a vector containing the base point(s)

sigma2

Noise variance

epsFun

The distribution for generating the univariate errors with unit variance for the tangent space coordinates

Value

An array with size (n, dimIntrinsic, nPts)

Methods (by class)

  • NoiseTangent(Sphere): Method

  • NoiseTangent(Euclidean): Method

  • NoiseTangent(SPD): Method


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