NNSDR/NNSDR/R/coef_nnsdr.R

13 lines
309 B
R
Raw Permalink Normal View History

2021-04-20 17:30:35 +00:00
#' Extracts the OPG or refined reduction coefficients from an nnsdr class instance
#'
#' @param object nnsdr class instance
#' @param ... Additional parameters passed down to `object$coef`.
#'
2021-04-20 17:30:35 +00:00
#' @return Matrix
#'
#' @method coef nnsdr
#' @export
coef.nnsdr <- function(object, ...) {
object$coef(...)
2021-04-20 17:30:35 +00:00
}