Skip to content

Commit

Permalink
roxygen: add return value documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
lschneiderbauer committed Dec 27, 2024
1 parent c164605 commit 028e20d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions R/fcwtr_scalogram.R
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,8 @@ rbind.fcwtr_scalogram <- function(...) {
#' @param x The "fcwtr_scalogram" object resulting from [fcwt()] to print.
#' @inheritParams base::print
#'
#' @return Returns the argument `x` invisibly.
#'
#' @export
print.fcwtr_scalogram <- function(x, ...) {
cat("_Scalogram_\n")
Expand Down Expand Up @@ -342,6 +344,8 @@ as.data.frame.fcwtr_scalogram <- function(x, ...) {
#' An "fcwtr_scalogram" object resulting from [fcwt()].
#' @inheritParams base::as.matrix
#'
#' @return A two dimensional numeric vector, inheriting the S3 class "matrix".
#'
#' @examples
#' fcwt(
#' sin((1:5000) * 2 * pi * 440 / 44100),
Expand Down
3 changes: 3 additions & 0 deletions man/as.matrix.fcwtr_scalogram.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions man/print.fcwtr_scalogram.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 028e20d

Please sign in to comment.