Skip to content

Commit

Permalink
doc symm_matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
friendly committed Jul 25, 2024
1 parent cd712b1 commit 9a00896
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions dev/symb-matrix.R
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,18 @@
#' x_{n1} & x_{n2} & \\dots & x_{nm}
#' \end{pmatrix}
#'
#' @param symbol
#' @param rows
#' @param cols
#' @param brackets
#' @details
#' This so far assumes that the \code{amsmath} package will be available.
#'
#'
#' @param symbol A single character, the name of the matrix elements
#' @param rows Number of rows.
#' @param cols Number of columns
#' @param brackets Type of brackets: \code{"p"} uses parentheses "(", ")"; \code{"b"} uses square braqckets "[", "]"; ...
#'
#' @examples
#' symb_matrix("x", rows = "n", cols = "m", brackets = "p) # default
#' symb_matrix("\\beta", "p", "q")
#'

symb_matrix <- function(
Expand Down

0 comments on commit 9a00896

Please sign in to comment.