R/3-shared-getMatrix.R

Defines functions getMatrix

Documented in getMatrix

#' Get Matrix from Object
#'
#' This function provides a unified wrapper to retrieve a matrix
#'  of \code{propr} or \code{propd} values.
#'
#' @inheritParams getResults
#'
#' @return A matrix.
#'
#' @export
getMatrix <-
  function(object) {
    df <- object@matrix
    return(df)
  }
tpq/propr documentation built on April 21, 2024, 12:50 p.m.