efourier_coefs: Get Fourier coefficients

View source: R/utils_efourier.R

efourier_coefsR Documentation

Get Fourier coefficients

Description

Extracts the Fourier coefficients from objects computed with efourier() and efourier_norm() returning a 'ready-to-analyze' data frame.

Usage

efourier_coefs(x)

Arguments

x

An object computed with efourier() or efourier_norm().

Value

A data.frame object

Examples

library(pliman)

# a list of objects
efourier(contours) |> efourier_coefs()

# one object, normalized coefficients
efourier(contours[[4]]) |>
  efourier_norm() |>
  efourier_coefs()

pliman documentation built on Oct. 15, 2023, 1:06 a.m.