Question: Create a 3-D PCA
0
gravatar for mostafarafiepour
23 months ago by
mostafarafiepour80 wrote:

Hi all dear,

I have a PCA output:

 Pop    PC1                 PC2                      PC3                Population
EAZ01   0.0394502269547468  0.0483472562251034  -0.0803608526481478     EAZ
EAZ02   0.0504868156065647  0.0580742278257349  -0.107896355901351      EAZ
EAZ03   0.0374073870906133  0.0264975096273572  -0.0428064138814253     EAZ
EAZ04   0.0444898942611897  0.0651207187616603  -0.102991551386588      EAZ

So, I want Create a 3-D PCA plot. I found a lot of scripts online, but I could not manage my data and create a Plot.

I want a plot like this:

enter image description here enter image description here

R • 1.1k views
ADD COMMENTlink modified 23 months ago • written 23 months ago by mostafarafiepour80
2

I found a lot of scripts online, but I could not manage my data and create a Plot.

It is good practice to show us what you tried and what didn't work. We have been telling you this multiple times now. Please change your attitude, we are volunteers who want to help you in our free time, so you have to follow our rules and have to make things as easy as possible for us.

ADD REPLYlink written 23 months ago by WouterDeCoster44k
2
gravatar for cpad0112
23 months ago by
cpad011214k
Hyderabad India
cpad011214k wrote:

try rgl package in R. Refer to this page as well: http://www.sthda.com/english/wiki/scatterplot3d-3d-graphics-r-software-and-data-visualization mostafarafiepour

scatterplot3d-add-legend-r-data-visualization-1

ADD COMMENTlink modified 23 months ago • written 23 months ago by cpad011214k

Many thanks dear cpad0112 for your good advice.

ADD REPLYlink written 23 months ago by mostafarafiepour80
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1220 users visited in the last hour