R/component_weights.R

#' Accessor function to extract mean weights
#'
#' @param object a decon object
#' @return Extract mean fractions of the object
#' @keywords thermogravimetry fraser-suzuki deconvolution
#' @examples
#' \donttest{
#' data(juncus)
#' tmp <- process(juncus, init_mass = 18.96,
#'                temp = 'temp_C', mass_loss = 'mass_loss')
#' output <- deconvolve(tmp)
#' component_weights(output)
#' }
#' @export

component_weights <- function (object) {
  object$weights
}

Try the mixchar package in your browser

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

mixchar documentation built on May 2, 2019, 7:01 a.m.