Description Usage Arguments See Also Examples

Calculates shapes based on 'Discrete cosine transforms' given harmonic coefficients (see dfourier) or can generate some random 'dfourier' shapes. Mainly intended to generate shapes and/or to understand how dfourier works.

1 | ```
dfourier_shape(A, B, nb.h, nb.pts = 60, alpha = 2, plot = TRUE)
``` |

`A` |
vector of harmonic coefficients |

`B` |
vector of harmonic coefficients |

`nb.h` |
if |

`nb.pts` |
if |

`alpha` |
The power coefficient associated with the (usually decreasing) amplitude of the harmonic coefficients (see efourier_shape) |

`plot` |
logical whether to plot the shape |

Other dfourier: `dfourier_i`

,
`dfourier`

1 2 3 4 | ```
# some signatures
panel(coo_align(Opn(replicate(48, dfourier_shape(alpha=0.5, nb.h=6)))))
# some worms
panel(coo_align(Opn(replicate(48, dfourier_shape(alpha=2, nb.h=6)))))
``` |

Momocs documentation built on March 23, 2018, 1:04 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.