Skip to content

Commit

Permalink
more spellcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
friendly committed Sep 4, 2024
1 parent a661ef9 commit da28697
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 8 deletions.
4 changes: 2 additions & 2 deletions R/Eqn.R
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ Eqn_newline <- function()' \\\\ \n'

#' Eqn_text Include literal string in equations
#'
#' \code{Eqn_text()} inserts a literla string to be rendered in a text font in an equation
#' \code{Eqn_text()} inserts a literal string to be rendered in a text font in an equation
#'
#' @param text argument to be used within \code{\\text{}}
#' @rdname Eqn
Expand All @@ -175,7 +175,7 @@ Eqn_text <- function(text) sprintf("\\text{%s}", text)
#' \code{=} signs
#' Input to \code{lhs}, \code{rhs} can be a
#' numeric to increase the size of the space or a
#' character vector to be passed to the LaTex macro \code{\\hspace{}}.
#' character vector to be passed to the LaTeX macro \code{\\hspace{}}.
#'
#' @param lhs spacing size. Can be a number between -1 and 6. -1 provides negative
#' spaces and 0 gives no spacing. Input can also be a character vector, which will be
Expand Down
2 changes: 1 addition & 1 deletion R/latexMatrix.R
Original file line number Diff line number Diff line change
Expand Up @@ -727,7 +727,7 @@ as.double.latexMatrix <- function(x, locals=list(), ...){
}

#' @param deparse.level to match the generic \code{\link{rbind}()}
#' and \code{\link{cbind}()} funcctions; ignored
#' and \code{\link{cbind}()} functions; ignored
#' @rdname latexMatrix
#' @export
cbind.latexMatrix <- function(..., deparse.level){
Expand Down
6 changes: 6 additions & 0 deletions inst/WORDLIST
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
adjoint
Adjoint
Beaton
behaviour
bmatrix
buglet
carData
Cheung
Expand All @@ -17,6 +19,7 @@ Dempster
det
diag
diagonalizes
dmurdoch
eigen
Eigen
eigenstructure
Expand All @@ -35,6 +38,7 @@ inv
Jarecki
kronecker
Lagrida
latexMatrix
Lundberg
macOS
mathbf
Expand All @@ -43,6 +47,7 @@ MathJax
MathType
matrixkit
mikewlcheung
norglwidget
orthogonalization
Orthogonalization
orthonormal
Expand All @@ -54,6 +59,7 @@ Penrose
pkgdown
plotEqn
pmatrix
pre
Proj
programmatically
pseudoinverse
Expand Down
4 changes: 2 additions & 2 deletions man/Eqn.Rd

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

4 changes: 2 additions & 2 deletions man/latexMatrix.Rd

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

2 changes: 1 addition & 1 deletion vignettes/eigen-ex1.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ elements in `values`.
The following steps illustrate the main properties of eigenvalues and eigenvectors. We use the notation
$A = V' \Lambda V$ to express the decomposition of the matrix $A$, where $V$ is the matrix of
eigenvectors and $\Lambda = diag(\lambda_1, \lambda_2, \dots, \lambda_p)$ is the diagonal matrix
composed of the ordered eivenvalues, $\lambda_1 \ge \lambda_2 \ge \dots \lambda_p$.
composed of the ordered eigenvalues, $\lambda_1 \ge \lambda_2 \ge \dots \lambda_p$.

0. Orthogonality: Eigenvectors are always orthogonal, $V' V = I$. `zapsmall()` is handy for cleaning up tiny values.
```{r orthog}
Expand Down

0 comments on commit da28697

Please sign in to comment.