man-roxygen/standardExamples.R

#' @examples
#' mat <- matrix(rnorm(15), nrow = 5, ncol = 3)
#' mat[2, 1] <- NA
#' mat[3, 3] <- Inf
#' mat[4, 1] <- 0
#'
#' print(mat)
#'
#' <%= rowName %>(mat)
#' <%= colName %>(mat)
Bioconductor/MatrixGenerics documentation built on Nov. 2, 2024, 4:13 a.m.