generateRandomSignal: Generate a random signal with given circular autocorrelation

Description Usage Arguments Value

View source: R/RcppExports.R

Description

Generate a random signal with given circular autocorrelation

Usage

1
generateRandomSignal(m, sac, maxcounter, margin)

Arguments

m

Length of the signal (a positive integer)

sac

Strength of the circular autocorrelation (a positive double, should be between 0 and 1)

maxcounter

Maximum number of tries in the while loop (a positive integer)

margin

The margin of error between the desired and obtained autocorrelation (a positive double)

Value

A numerical vector


JeremySilver/RandomThinning documentation built on May 27, 2017, 12:02 a.m.