{
  "_id": "6a22a54fcd65a98ecbd599fb",
  "Package": "psdr",
  "Title": "Use Time Series to Generate and Compare Power Spectral Density",
  "Version": "1.0.3",
  "Authors@R": "person(given = \"Yong-Han Hank\",\nfamily = \"Cheng\",\nrole = c(\"aut\", \"cre\"),\nemail = \"yhhc@uw.edu\",\ncomment = c(ORCID = \"0000-0001-7686-0697\"))",
  "Description": "Functions that allow you to generate and compare power\nspectral density (PSD) plots given time series data. Fast\nFourier Transform (FFT) is used to take a time series data,\nanalyze the oscillations, and then output the frequencies of\nthese oscillations in the time series in the form of a PSD\nplot.Thus given a time series, the dominant frequencies in the\ntime series can be identified. Additional functions in this\npackage allow the dominant frequencies of multiple groups of\ntime series to be compared with each other. To see example\nusage with the main functions of this package, please visit\nthis site:\n<https://yhhc2.github.io/psdr/articles/Introduction.html>. The\nmathematical operations used to generate the PSDs are described\nin these sites:\n<https://www.mathworks.com/help/matlab/ref/fft.html>.\n<https://www.mathworks.com/help/signal/ug/power-spectral-density-estimates-using-fft.html>.",
  "License": "GPL (>= 3) | file LICENSE",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.1.1",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-05 10:27:28 UTC",
    "User": "root"
  },
  "Author": "Yong-Han Hank Cheng [aut, cre] (ORCID:\n<https://orcid.org/0000-0001-7686-0697>)",
  "Maintainer": "Yong-Han Hank Cheng <yhhc@uw.edu>",
  "Repository": "https://yhankcheng.r-universe.dev",
  "Date/Publication": "2025-09-08 02:13:43 UTC",
  "RemoteUrl": "https://github.com/cran/psdr",
  "RemoteRef": "HEAD",
  "RemoteSha": "cc025c9152e9b8bcfa43cafd680d76f5ef797bfd",
  "MD5sum": "82c49dc1936b36c4ba4947f2ca2b0ac2",
  "_user": "yhankcheng",
  "_type": "src",
  "_file": "psdr_1.0.3.tar.gz",
  "_fileid": "10280d5d8a5156a6a1db957b860dde251dc2e0f141083491936d3685ff6f6189",
  "_filesize": 2124387,
  "_sha256": "10280d5d8a5156a6a1db957b860dde251dc2e0f141083491936d3685ff6f6189",
  "_created": "2026-06-05T10:27:28.000Z",
  "_published": "2026-06-05T10:30:39.188Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79709788640,
      "time": 137,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7434434383"
    },
    {
      "job": 79709788626,
      "time": 135,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7434433920"
    },
    {
      "job": 79709788661,
      "time": 155,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7434430911"
    },
    {
      "job": 79709788637,
      "time": 153,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7434430602"
    },
    {
      "job": 79709310230,
      "time": 197,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7434393506"
    },
    {
      "job": 79709788582,
      "time": 116,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7434428405"
    },
    {
      "job": 79709788629,
      "time": 103,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7434424274"
    },
    {
      "job": 79709788638,
      "time": 73,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7434415967"
    },
    {
      "job": 79709788631,
      "time": 98,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7434422928"
    }
  ],
  "_buildurl": "https://github.com/r-universe/yhankcheng/actions/runs/27009479875",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/psdr",
  "_commit": {
    "id": "cc025c9152e9b8bcfa43cafd680d76f5ef797bfd",
    "author": "Yong-Han Hank Cheng <yhhc@uw.edu>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.0.3\n",
    "time": 1757297623
  },
  "_maintainer": {
    "name": "Yong-Han Hank Cheng",
    "email": "yhhc@uw.edu",
    "login": "yhankcheng",
    "description": "",
    "uuid": 24951922,
    "orcid": "0000-0001-7686-0697"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "ggplot2",
      "version": ">= 3.3.2",
      "role": "Imports"
    },
    {
      "package": "stats",
      "version": ">= 4.0.2",
      "role": "Imports"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "devtools",
      "version": ">= 2.4.1",
      "role": "Suggests"
    },
    {
      "package": "qpdf",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-37",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "1.0.3",
      "date": "2025-09-08"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "yhankcheng",
      "count": 2,
      "uuid": 24951922
    }
  ],
  "_userbio": {
    "uuid": 24951922,
    "type": "user",
    "name": "Yong-Han Hank Cheng"
  },
  "_downloads": {
    "count": 517,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/psdr"
  },
  "_searchresults": 4,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/psdr.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_realowner": "yhankcheng",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0.1",
      "date": "2021-06-04"
    },
    {
      "version": "1.0.3",
      "date": "2025-09-07"
    }
  ],
  "_exports": [
    "AutomatedCompositePlotting",
    "CountWindows",
    "FindHomogeneousWindows",
    "GenerateExampleData",
    "GetHomogeneousWindows",
    "GetSubsetOfWindows",
    "GetSubsetOfWindowsTwoLevels",
    "IdentifyMaxOnXY",
    "MakeCompositePSDForAllWindows",
    "MakeCompositeXYPlotForAllWindows",
    "MakeOneSidedAmplitudeSpectrum",
    "MakePowerSpectralDensity",
    "PSDDominantFrequencyForMultipleWindows",
    "PSDIdentifyDominantFrequency",
    "PSDIntegrationPerFreqBin",
    "SingleBinPSDIntegrationForMultipleWindows",
    "SingleBinPSDIntegrationOrDominantFreqComparison"
  ],
  "_help": [
    {
      "page": "AutomatedCompositePlotting",
      "title": "Automated plotting of time series, PSD, and log transformed PSD",
      "topics": [
        "AutomatedCompositePlotting"
      ]
    },
    {
      "page": "CountWindows",
      "title": "Create a contingency table to display how many windows (dataframes) fall into particular categories",
      "topics": [
        "CountWindows"
      ]
    },
    {
      "page": "FindHomogeneousWindows",
      "title": "Assess if window (dataframe) share certain features across all observations",
      "topics": [
        "FindHomogeneousWindows"
      ]
    },
    {
      "page": "GenerateExampleData",
      "title": "Produce example data set for demonstrating package functions",
      "topics": [
        "GenerateExampleData"
      ]
    },
    {
      "page": "GetHomogeneousWindows",
      "title": "Get windows (dataframes) that have the same specified column values for all observations",
      "topics": [
        "GetHomogeneousWindows"
      ]
    },
    {
      "page": "GetSubsetOfWindows",
      "title": "Select only windows (dataframes) where a specified column matches a specified value",
      "topics": [
        "GetSubsetOfWindows"
      ]
    },
    {
      "page": "GetSubsetOfWindowsTwoLevels",
      "title": "Select only windows (dataframes) where a two specified columns must match specified values",
      "topics": [
        "GetSubsetOfWindowsTwoLevels"
      ]
    },
    {
      "page": "IdentifyMaxOnXY",
      "title": "Given a xy plot. Find the maximum value on the plot",
      "topics": [
        "IdentifyMaxOnXY"
      ]
    },
    {
      "page": "MakeCompositePSDForAllWindows",
      "title": "Make PSD for each window (dataframe) in a list and then find the average of all the PSDs",
      "topics": [
        "MakeCompositePSDForAllWindows"
      ]
    },
    {
      "page": "MakeCompositeXYPlotForAllWindows",
      "title": "Find averaged xy plots",
      "topics": [
        "MakeCompositeXYPlotForAllWindows"
      ]
    },
    {
      "page": "MakeOneSidedAmplitudeSpectrum",
      "title": "Create a one sided amplitude spectrum using time series data",
      "topics": [
        "MakeOneSidedAmplitudeSpectrum"
      ]
    },
    {
      "page": "MakePowerSpectralDensity",
      "title": "Create a power spectral density (PSD) plot using time series data",
      "topics": [
        "MakePowerSpectralDensity"
      ]
    },
    {
      "page": "PSDDominantFrequencyForMultipleWindows",
      "title": "Calculate dominant frequency for multiple PSDs for a single frequency range",
      "topics": [
        "PSDDominantFrequencyForMultipleWindows"
      ]
    },
    {
      "page": "PSDIdentifyDominantFrequency",
      "title": "Given a time series vector, create a PSD and find the dominant frequency",
      "topics": [
        "PSDIdentifyDominantFrequency"
      ]
    },
    {
      "page": "PSDIntegrationPerFreqBin",
      "title": "Given a time series vector, generate a PSD, then calculate integration for specified bins",
      "topics": [
        "PSDIntegrationPerFreqBin"
      ]
    },
    {
      "page": "SingleBinPSDIntegrationForMultipleWindows",
      "title": "Calculate integral for multiple PSDs for a single frequency bin",
      "topics": [
        "SingleBinPSDIntegrationForMultipleWindows"
      ]
    },
    {
      "page": "SingleBinPSDIntegrationOrDominantFreqComparison",
      "title": "Given sets of windows (dataframes) corresponding to different combos, see if the integration or dominant frequency of a specific frequency range is significantly different between the combos",
      "topics": [
        "SingleBinPSDIntegrationOrDominantFreqComparison"
      ]
    }
  ],
  "_pkglogo": "https://github.com/cran/psdr/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/cran/psdr/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "farver",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lifecycle",
    "R6",
    "RColorBrewer",
    "rlang",
    "S7",
    "scales",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "Examples.Rmd",
      "filename": "Examples.html",
      "title": "Examples",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Installation",
        "Examples",
        "AutomatedCompositePlotting()",
        "CountWindows()",
        "FindHomogeneousWindows()",
        "GetHomogeneousWindows",
        "GetSubsetOfWindows()",
        "GetSubsetOfWindowsTwoLevels()",
        "IdentifyMaxOnXY()",
        "MakeCompositePSDForAllWindows()",
        "MakeCompositeXYPlotForAllWindows",
        "MakeOneSidedAmplitudeSpectrum()",
        "MakePowerSpectralDensity()",
        "PSDDominantFrequencyForMultipleWindows()",
        "PSDIdentifyDominantFrequency()",
        "PSDIntegrationPerFreqBin()",
        "SingleBinPSDIntegrationForMultipleWindows()",
        "SingleBinPSDIntegrationOrDominantFreqComparison()"
      ],
      "created": "2021-06-04 06:50:02",
      "modified": "2021-06-04 06:50:02",
      "commits": 1
    },
    {
      "source": "Introduction.Rmd",
      "filename": "Introduction.html",
      "title": "Introduction",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Installation",
        "Example",
        "Load in example dataset",
        "Explore the dataset",
        "Visualize the frequency contribution of signals",
        "Comparing frequency contribution of each category"
      ],
      "created": "2021-06-04 06:50:02",
      "modified": "2021-06-04 06:50:02",
      "commits": 1
    }
  ],
  "_score": 3,
  "_indexed": true,
  "_nocasepkg": "psdr",
  "_universes": [
    "yhankcheng"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.3",
      "date": "2026-06-05T10:29:44.000Z",
      "distro": "noble",
      "commit": "cc025c9152e9b8bcfa43cafd680d76f5ef797bfd",
      "fileid": "4b7711355a2d2a555fd2a31d80894c621c5b4c21299df435ddba67e66ba3a2c8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yhankcheng/actions/runs/27009479875"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.3",
      "date": "2026-06-05T10:29:42.000Z",
      "distro": "noble",
      "commit": "cc025c9152e9b8bcfa43cafd680d76f5ef797bfd",
      "fileid": "940e9785ade8911b67ea6ec9470ce837470398618ed9cc8ba8462812b562e39b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yhankcheng/actions/runs/27009479875"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.3",
      "date": "2026-06-05T10:29:36.000Z",
      "commit": "cc025c9152e9b8bcfa43cafd680d76f5ef797bfd",
      "fileid": "828cafe9dde2742031bb48da74b87d59ec1b34d7e5239fdbd4a58bd516a1d55d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yhankcheng/actions/runs/27009479875"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.3",
      "date": "2026-06-05T10:29:33.000Z",
      "commit": "cc025c9152e9b8bcfa43cafd680d76f5ef797bfd",
      "fileid": "597a30930bd54ede1a7ed6af337ea13a89096128e04873b1e368788996901ae1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yhankcheng/actions/runs/27009479875"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.3",
      "date": "2026-06-05T10:29:39.000Z",
      "commit": "cc025c9152e9b8bcfa43cafd680d76f5ef797bfd",
      "fileid": "448e9be3576f97f41cfe5c74cdc4ec24a1cbb48f1d360705afc4c0d3379f83d6",
      "status": "success",
      "buildurl": "https://github.com/r-universe/yhankcheng/actions/runs/27009479875"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-06-05T10:29:02.000Z",
      "commit": "cc025c9152e9b8bcfa43cafd680d76f5ef797bfd",
      "fileid": "88f54d9500f4e6e36820b736efb5d2fc6d73ca356971ce718293afd1bea39a8c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yhankcheng/actions/runs/27009479875"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-06-05T10:28:36.000Z",
      "commit": "cc025c9152e9b8bcfa43cafd680d76f5ef797bfd",
      "fileid": "b5a40fd4295581e5eea6118e3458564d676669ae92617415e99514c9a8257c2a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yhankcheng/actions/runs/27009479875"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-06-05T10:28:56.000Z",
      "commit": "cc025c9152e9b8bcfa43cafd680d76f5ef797bfd",
      "fileid": "08bd2070ecd33cc3dda566cabe88c2c1ce497bd23a6daacf21a385ae585514d4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yhankcheng/actions/runs/27009479875"
    }
  ]
}