Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
64 commits
Select commit Hold shift + click to select a range
d895f4f
CA vignette
jnienk Nov 8, 2024
df88ae3
html code removal
jnienk Nov 8, 2024
ba3e1be
Update Website CA
Nov 11, 2024
d359285
CA documentation
jnienk Nov 11, 2024
8267ee7
CA vignette
jnienk Nov 11, 2024
a592720
update website
Nov 13, 2024
f54fe4d
biplotEZ logo
MuViSU Nov 13, 2024
ea489b3
Update README.md
MuViSU Nov 13, 2024
d53fb13
Update README.md
MuViSU Nov 13, 2024
351b427
Update README.md
MuViSU Nov 13, 2024
23581e5
Update README.md
MuViSU Nov 13, 2024
ab70d2f
Update README.md
MuViSU Nov 13, 2024
5446755
Update README.md
MuViSU Nov 13, 2024
0092d40
Update README.md
MuViSU Nov 13, 2024
67f58fc
Update README.md
MuViSU Nov 13, 2024
c22870c
Update README.md
MuViSU Nov 13, 2024
359be02
Update README.md
MuViSU Nov 13, 2024
10ef4ac
README
jnienk Nov 13, 2024
36542e3
update README
jnienk Nov 13, 2024
323e03f
Fixed which
RaeesaGaney91 Nov 13, 2024
8b2ec9a
Submission to CRAN v2.2
sugnet Nov 13, 2024
a5ea928
add option to plot
sugnet Jan 22, 2025
4b3e43e
Update pkgdown.yml
MuViSU Mar 10, 2025
ad65fd9
pckgdown update
jnienk Mar 10, 2025
320a96f
pages update
jnienk May 26, 2025
dc0fa0b
updated yml
jnienk May 26, 2025
510d0a5
update
jnienk May 26, 2025
2562370
updated pages
jnienk May 26, 2025
87e6a8c
Update README.md
jnienk May 27, 2025
e464fe1
pages update
jnienk May 27, 2025
d4a6745
vignette
sugnet Jun 20, 2025
89c8947
Merge branch 'main' of https://github.com/MuViSU/biplotEZ
sugnet Jun 20, 2025
ca45821
Check add=TRUE
sugnet Jun 20, 2025
4a093cf
requireNamespace added
sugnet Aug 29, 2025
d509f26
CatPCA 2D
sugnet Sep 1, 2025
ff13e6b
CatPCA bugs fixed
sugnet Sep 3, 2025
2e15333
fixed correlation PCA
sugnet Sep 18, 2025
baf542f
p>n for correlation PCA fixed
sugnet Sep 19, 2025
c4a7209
Loss function based on LnjTinyNew.f. Note that this loss function doe…
Xaleed Dec 8, 2025
f28901b
Created a temporary folder for testing examples; this can be removed …
Xaleed Dec 8, 2025
ef49228
Add the temporary example folder to .Rbuildignore.
Xaleed Dec 8, 2025
864326b
Remove temporary example file
Xaleed Dec 8, 2025
300a679
Example is extended to multivariate responses
Xaleed Dec 8, 2025
7a8510f
Some minor corrections to the biplot.spline.axis function to improve …
Xaleed Dec 9, 2025
17833eb
Example: calling from Fortran
Xaleed Dec 9, 2025
35d7965
Full Translation from Fortran to Rcpp
Xaleed Dec 13, 2025
8676905
Replace R's optim() with a fully manual Nelder–Mead optimization algo…
Xaleed Dec 13, 2025
6e7811a
All Fortran code has been removed.
Xaleed Dec 16, 2025
4764fab
The spline graph function has been updated from fortran to Rcpp.
Xaleed Dec 16, 2025
e3892bb
Ready to install
Xaleed Dec 16, 2025
7cd669b
Differences with orignal code (fortran):
Xaleed Dec 28, 2025
54e2ee8
fixed all the randomness in this code (using seed), so you should se…
Xaleed Dec 28, 2025
fcf6391
I fixed all the randomness in this code (using seed), so you should s…
Xaleed Jan 21, 2026
4d6d576
minor errors fixed
sugnet Apr 9, 2026
417f598
remove unused code and comments
Xaleed Apr 9, 2026
53cac74
add tests/temp/ directory to .Rbuildignore
Xaleed Apr 9, 2026
8659fa6
remove unused Fortran utility functions to improve performance and me…
Xaleed Apr 9, 2026
7d9f78a
add documentation for biplot.spline.axis function.
Xaleed Apr 16, 2026
d8784a5
Merge pull request #3 from MuViSU/KMbranch
Xaleed Apr 16, 2026
aff16c6
refactor biplot.spline.axis documentation and remove unused Rd file
Xaleed Apr 16, 2026
4eff64b
Merge pull request #4 from MuViSU/KMbranch
Xaleed Apr 16, 2026
2eae081
Create CNAME
MuViSU Apr 16, 2026
3ef9aaf
Delete CNAME
MuViSU Apr 16, 2026
4db8ccf
Create CNAME
MuViSU Apr 16, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 6 additions & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,9 @@
^docs$
^pkgdown$
^CRAN-SUBMISSION$
^doc$
^Meta$
^examples/temp/
^tests/temp/


2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@
.o
.so
.dll
/doc/
/Meta/
6 changes: 3 additions & 3 deletions CRAN-SUBMISSION
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Version: 2.1
Date: 2024-09-14 10:57:51 UTC
SHA: eb5656ea33fc519c7f43ebe74b0963825b5943c0
Version: 2.2
Date: 2024-11-13 18:00:38 UTC
SHA: 323e03f56d02eec77b7c9d98aa46ed597b3f3b74
11 changes: 7 additions & 4 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: biplotEZ
Title: EZ-to-Use Biplots
Version: 2.1
Version: 2.3
Authors@R:
c(person("Sugnet", "Lubbe", , "muvisu@sun.ac.za", role = c("aut", "cre","cph"),
comment = c(ORCID = "0000-0003-2762-9944")),
Expand All @@ -27,7 +27,7 @@ Description: Provides users with an EZ-to-use platform for representing data
License: MIT + file LICENSE
Encoding: UTF-8
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.3.2
RoxygenNote: 7.3.3
VignetteBuilder: knitr
Config/testthat/edition: 3
Suggests:
Expand All @@ -40,14 +40,17 @@ Suggests:
knitr,
MASS,
R.devices,
RColorBrewer,
rgl,
rmarkdown,
testthat (>= 3.0.0)
rmarkdown
Imports:
graphics,
grDevices,
plotrix,
Rcpp,
splines,
stats,
withr
NeedsCompilation: yes
LinkingTo:
Rcpp
7 changes: 5 additions & 2 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
S3method(AoD,biplot)
S3method(CA,biplot)
S3method(CVA,biplot)
S3method(CatPCA,biplot)
S3method(PCA,biplot)
S3method(PCO,biplot)
S3method(classification,biplot)
Expand All @@ -12,15 +13,14 @@ S3method(regress,biplot)
S3method(summary,biplot)
export(AoD)
export(CA)
export(CATPCA)
export(CLPs)
export(CLRs)
export(CVA)
export(CatPCA)
export(PCA)
export(PCO)
export(alpha.bags)
export(axes)
export(axes_coordinates)
export(biplot)
export(classification)
export(classify)
Expand All @@ -34,13 +34,16 @@ export(legend.type)
export(means)
export(newaxes)
export(newsamples)
export(nom.axes)
export(ord.axes)
export(prediction)
export(reflect)
export(regress)
export(rotate)
export(samples)
export(sqrtManhattan)
export(translate_axes)
importFrom(Rcpp,sourceCpp)
importFrom(grDevices,chull)
importFrom(grDevices,colorRampPalette)
importFrom(grDevices,grey)
Expand Down
14 changes: 10 additions & 4 deletions R/CA.R
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,19 @@
#' \item{Z}{Combined data frame of the row and column coordinates.}
#' \item{r}{Numer of levels in the row factor.}
#' \item{c}{Numer of levels in the column factor.}
#' \item{Dr}{Diagonal matrix of row profiles.}
#' \item{Dc}{Diagonal matrix of column profiles.}
#' \item{Drh}{Weighted row profiles.}
#' \item{Dch}{Weighted column profiles.}
#' \item{rowcoor}{Row coordinates based on the selected \code{variant}.}
#' \item{colcoor}{Column coordinates based on the selected \code{variant}.}
#' \item{P}{Correspondence Matrix}
#' \item{P}{Correspondence Matrix.}
#' \item{Smat}{Standardised Pearson residuals.}
#' \item{SVD}{Singular value decomposition solution: \code{d, u, v}.}
#' \item{qual}{Quality of the approximation.}
#' \item{e.vects}{Depending on what was specified in \code{CA} argument.}
#' \item{dim.biplot}{The dimension of the biplot.}
#' \item{lambda.val}{The computed lambda value if lambda-scaling is requested.}
#' \item{gamma}{Contribution of the singular values, based on the CA variant.}
#'
#' @seealso [biplot()]
#'
Expand Down Expand Up @@ -130,10 +136,10 @@ CA.biplot <- function(bp, dim.biplot = c(2,1,3), e.vects = 1:ncol(bp$X), variant
bp$Z <- Z
bp$r <- r
bp$c <- c
bp$Dr <- Dr
bp$Dc <- Dc
bp$Rc <- Dr
bp$Dch <- Dch
bp$Drh <- Drh
bp$Dch <- Dch
bp$rowcoor <- rowcoor
bp$colcoor <- colcoor
bp$P <- P
Expand Down
Loading
Loading