Skip to content

spectral

2.0Package record

Common Methods of Spectral Data Analysis

2packages depend
5.2Kdownloads / year
–test coverage
11/13flavors OK

Overview

About

On discrete data spectral analysis is performed by Fourier and Hilbert transforms as well as with model based analysis called Lomb-Scargle method. Fragmented and irregularly spaced data can be processed in almost all methods. Both, FFT as well as LOMB methods take multivariate data and return standardized PSD. For didactic reasons an analytical approach for deconvolution of noise spectra and sampling function is provided. A user friendly interface helps to interpret the results.

Changes in 2.0
  • add summary() and print() functions
  • add deconvolve() function to perform analytically deconvolution
  • add standardized PSD and false alarm probability to spec.fft-function
  • spec.fft handles NA-values by zero padding and simple energy recovery.
  • enhance calculation speed by multithreaded BLAS (must be replaced by user)
  • add 1D FFT interpolation function
  • read out cache size for memory usage in spec.lomb
  • bug fix memory calculation in spec.lomb()
  • bug fix single frequency in spec.lomb()
  • optional cluster (hpc) calculation in spec.lomb()
  • adding a progressbar to spec.lomb()
  • waterfall() calculates PSD as well
Show all changes in 2.0Hide the rest of the changes in 2.0
  • changed variable band width in waterfall()
  • waterfall also ignores NA values and corrects
  • adding progress bar to waterfall()
  • extending band pass function BP() by sinc, bi-cubic and gauss kernels
  • modified all dependend functions which use band pass BP()
  • add Hanning window function

From NEWS in the release

Install

Health

CRAN checks
2NOTE11OK
Check messages
NOTECRAN incoming feasibilityr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Maintainer: ‘Martin Seilmayer <martin.seilmayer@gmail.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: person(given = "Martin",
                    family = "Seilmayer",
                    role = c("aut", "cre"),
                    email = "martin.seilmayer@gmail.com")
as necessary.

CRAN check page ↗

Slowest check: 1.3 min · r-oldrel-windows-x86_64
Status changes
  • NOTE11 OK, 2 NOTE2026-06-08
  • ERROR11 OK, 1 NOTE, 1 ERROR2026-06-07
  • NOTE12 OK, 2 NOTE2026-03-10
Advisories

none known

Documentation

In release 2.0
READMENoVignettesNoNEWSYes · 33% structured · mentions 2.0Citation fileNoWebsitenot declared in DESCRIPTION
Help pages
27
Examples that run
60%9 run in a plain check · 6 hold no code
Exported functions with examples
50%
Documented parameters
100%
Return-value docs
69%
Help pages citing references
11%

Downloads

5.2K
CRAN downloads in the past year
Rank #9,357 · ~14/day · ~435/mo
Daily download trend is not available in this view yet.
38530 days
1.1K90 days
5.2K1 year
Compare downloads with other packages →
Also on102 r2u2 autocran121 c2d4u

Dependencies

Declared dependencies
3 external dependencies (excludes base and recommended)

Installing spectral adds 4 packages (1 with compiled code, 383 KB of source tarballs). Heaviest: plotrix 313 KB, RhpcBLASctl 41 KB, pbapply 23 KB.

Depends (5)
Imports (0)
none
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
2direct
0indirect
Imports 2
Depends, Imports or LinkingTo, most downloaded first

People & History

People (from the free-text Author field) (1)

Maintainer since 1.0 (2016)

Releases (4)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • 2.0Latest
    record
    2021-03-29 · current release · diff ↗ ·
    added 6 exports
    BP, amax, deconvolve, interpolate.fft, win.hann, win.nutt
  • R
    R 4.0.0 released · 2020-04-24
  • 1.3
    record
    2019-06-03 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • R
    R 3.5.0 released · 2018-04-23
  • R
    R 3.4.0 released · 2017-04-21
  • 1.0.1
    record
    2016-09-15 · diff ↗
  • 1.0
    record
    2016-09-13
  • R
    R 3.3.0 released · 2016-05-03

Package metadata

First published
2016-09-13
Total releases
4 / 10 yrs
License
GPL-2 OSI
Minimum R
≥ 3.5.0
Download size
49 KB
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("spectral")

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for spectral version 2.0 [Data set]. HJJB, LLC. Data release v2026-10-25. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy