plot_ft {rbbnp}R Documentation

Plot the Fourier Transform

Description

Plot the Fourier Transform of the

Usage

plot_ft(X, xi_interval, ft_plot.resol = 500)

Arguments

X

A numerical vector of sample data.

xi_interval

A list containing the lower (xi_lb) and upper (xi_ub) bounds of the xi interval.

ft_plot.resol

An integer representing the resolution of the plot, specifically the number of points used to represent the Fourier transform. Defaults to 500.

Details

C = 1, the parameter in O(1/n^{0.25}), see more details in Schennach (2020) doi:10.1093/restud/rdz065.

Value

A ggplot object representing the plot of the Fourier transform.

Examples

plot_ft(
  sample_data$X,
  xi_interval = list(xi_lb = 1, xi_ub = 50),
  ft_plot.resol = 1000
)

[Package rbbnp version 0.1.0 Index]