R/list-class.R

Defines functions getGradients.list

Documented in getGradients.list

#' @rdname getGradients
#' @method getGradients list
#' @export
getGradients.list <- function(x, method = "BelkinOReilly2009",
                              intermediate = FALSE, ...){

  # Check arguments
  checkArgs_df_list(x = x)

  # Apply method
  x$z <- getGradients(x = x$z, method = method, intermediate = intermediate,
                      checkPrevs = FALSE, ...)

  x
}

Try the grec package in your browser

Any scripts or data that you put into this service are public.

grec documentation built on April 11, 2025, 6 p.m.