The package pca3d quickly generates 2D and 3D graphics of PCA. The focus is on showing how samples are assigned to different groups or categories. Furthermore, a 2D counterpart facilitates producing publication-quality figures.
Questions tagged [pca3d]
3 questions
0
votes
0 answers
3D RGL Plot not showing in R
I am plotting a 3 dimensional PCA plot with R package "pca3d". However, the plot is not popping up as it usually does with conventional 2d plots (e. g. plotted with ggplot, ggbiplot or also with the 2d function of pca3d, i. e. pca2d).
>…

plicht
- 123
- 6
0
votes
1 answer
can anyone help me to make PCA 3D box plots?
I used the below code to do 3D PCA, all I want to make a 3D box plot.
Mydata = read.csv("PCA.csv")
head(Mydata)
pca = prcomp(Mydata[,6:11], scale. = TRUE)
summary(pca)
library(pca3d)
gr = factor(Mydata[,1])
pca3d(pca, group =…

Kazi
- 67
- 7
0
votes
1 answer
Box type in R pca2d plot
I'm using the pca3d package and it's really convenient. However, I'd like to draw a full box around my pca2d scores plot, rather than just having an x-axis.
The following code:
library(pca3d)
set.seed(111)
mat <- matrix(rnorm(10000), ncol = 100)
gps…

Joe
- 8,073
- 1
- 52
- 58