R/Weight_error.R

Defines functions Weight_error

Documented in Weight_error

#' Apply weights to F/S matrices
#' 
#' @keywords internal
#'
#' @param S  xx
#' @param cm  xx
#'
#' @return A matrix
#'
#' @examples
Weight_error <- function(S, cm){
  S <- S%*%diag(cm)
  return(S)
}

Try the phytoclass package in your browser

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

phytoclass documentation built on April 4, 2025, 4:02 a.m.