Description Usage Arguments Examples
View source: R/complicate.fourier.descriptor.R
Add amplitude weights to the zero-weighted frequencies of an existing Fourier descriptor.
1 | complicate.fourier.descriptor(fourier.descriptor, quantity = 1, generating.function = function() {return(1)})
|
fourier.descriptor |
A Fourier descriptor object. |
quantity |
How many frequency components should be added? Defaults to 1. |
generating.function |
An anonymous function that returns an amplitude weight. The default function adds weight 1 to each new frequency. |
1 2 3 4 5 | library('FourierDescriptors')
fourier.descriptor <- random.fourier.descriptor(12)
fd <- complicate.fourier.descriptor(fourier.descriptor)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.