#' Returns row median of factorized matrix
#'
#' @param data factorized matrix
#'
#' @return
#' @export
#'
#'
medianFactor <- function(data) {
if(!hasArg(data)) {
data <- getDataFrame()
}
apply(data, 1, FUN = function(x) {median(x, na.rm = T)})
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.