From da28697a2a7c8b2098da36288ab3b2b8421d786b Mon Sep 17 00:00:00 2001 From: Michael Friendly Date: Wed, 4 Sep 2024 16:45:02 -0400 Subject: [PATCH] more spellcheck --- R/Eqn.R | 4 ++-- R/latexMatrix.R | 2 +- inst/WORDLIST | 6 ++++++ man/Eqn.Rd | 4 ++-- man/latexMatrix.Rd | 4 ++-- vignettes/eigen-ex1.Rmd | 2 +- 6 files changed, 14 insertions(+), 8 deletions(-) diff --git a/R/Eqn.R b/R/Eqn.R index 93f24537..d8944e96 100644 --- a/R/Eqn.R +++ b/R/Eqn.R @@ -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 @@ -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 diff --git a/R/latexMatrix.R b/R/latexMatrix.R index bb786407..8638617b 100644 --- a/R/latexMatrix.R +++ b/R/latexMatrix.R @@ -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){ diff --git a/inst/WORDLIST b/inst/WORDLIST index c4ad2d1c..a4fa5037 100644 --- a/inst/WORDLIST +++ b/inst/WORDLIST @@ -1,6 +1,8 @@ adjoint Adjoint Beaton +behaviour +bmatrix buglet carData Cheung @@ -17,6 +19,7 @@ Dempster det diag diagonalizes +dmurdoch eigen Eigen eigenstructure @@ -35,6 +38,7 @@ inv Jarecki kronecker Lagrida +latexMatrix Lundberg macOS mathbf @@ -43,6 +47,7 @@ MathJax MathType matrixkit mikewlcheung +norglwidget orthogonalization Orthogonalization orthonormal @@ -54,6 +59,7 @@ Penrose pkgdown plotEqn pmatrix +pre Proj programmatically pseudoinverse diff --git a/man/Eqn.Rd b/man/Eqn.Rd index 225edfd4..695b3c27 100644 --- a/man/Eqn.Rd +++ b/man/Eqn.Rd @@ -107,13 +107,13 @@ the result of compiling the LaTeX expressions. \code{Eqn_newline()} emits a newline (\code{\\}) in an equation -\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 \code{Eqn_hspace()} is used to create (symmetric) equation spaces, most typically around \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{}}. \code{Eqn_vspace()} inserts vertical space between lines in an equation. Typically used for aligned, multiline equations. diff --git a/man/latexMatrix.Rd b/man/latexMatrix.Rd index 179b76b0..9363522a 100644 --- a/man/latexMatrix.Rd +++ b/man/latexMatrix.Rd @@ -22,7 +22,7 @@ \alias{[.latexMatrix} \alias{cbind.latexMatrix} \alias{rbind.latexMatrix} -\title{Create and Manipulate LaTeX Repesentations of Matrices} +\title{Create and Manipulate LaTeX Representations of Matrices} \usage{ latexMatrix( symbol = "x", @@ -179,7 +179,7 @@ specific numeric values; e.g., \item{drop}{to match the generic indexing function, ignored} \item{deparse.level}{to match the generic \code{\link{rbind}()} -and \code{\link{cbind}()} funcctions; ignored} +and \code{\link{cbind}()} functions; ignored} } \value{ \code{latexMatrix()} returns an object of class \code{"latexMatrix"} diff --git a/vignettes/eigen-ex1.Rmd b/vignettes/eigen-ex1.Rmd index 54677b62..9b17f165 100644 --- a/vignettes/eigen-ex1.Rmd +++ b/vignettes/eigen-ex1.Rmd @@ -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}