Skip to content

Commit

Permalink
adjust examples given new Dimnames behaviour
Browse files Browse the repository at this point in the history
  • Loading branch information
philchalmers committed Sep 9, 2024
1 parent 47dfb21 commit cddba69
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
10 changes: 7 additions & 3 deletions R/Eqn.R
Original file line number Diff line number Diff line change
Expand Up @@ -100,14 +100,18 @@
#' A <- matrix(c(2, 1, -1,
#' -3, -1, 2,
#' -2, 1, 2), 3, 3, byrow=TRUE)
#' b <- c(8, -11, -3)
#' b <- matrix(c(8, -11, -3))
#'
#' # numeric matrix wrapped internally
#' cbind(A,b) |> Eqn()
#' cbind(A,'\\bigm|', b) |> Eqn()
#' cbind(A,b) |> latexMatrix() |> Eqn()
#'
#' # change matrix brackets globally
#' # change numeric matrix brackets globally
#' cbind(A,b) |> Eqn(mat_args=list(matrix='bmatrix'))
#'
#' # greater flexibility when using latexMatrix()
#' cbind(A, b) |> latexMatrix() |> partition(columns=3) |> Eqn()
#'
#' # with showEqn()
#' showEqn(A, b, latex=TRUE) |> Eqn()
#'
Expand Down
10 changes: 7 additions & 3 deletions man/Eqn.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit cddba69

Please sign in to comment.