Learn R Programming

pliman (version 2.1.0)

efourier_coefs: 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)

Value

A data.frame object

Arguments

x

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

Examples

Run this code
library(pliman)

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

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

Run the code above in your browser using DataLab