[R] plot(corresp(data)...)

Jari Oksanen jarioksa at sun3.oulu.fi
Thu Jun 9 15:39:04 CEST 2005


On Thu, 2005-06-09 at 14:40 +0200, Navarre Sabine wrote:

> My code:
>  
> data<-matrix(data=c(0.425,0.5,0.75,0.125,0.25,0.475,0.375,0.25,0.625,0.5,0.1,0.125,0,0.25,0.25),nrow=3,ncol=5,byrow=TRUE, dimnames=list(c("Good","Medium","Bad"),c("Content","Logistic","Trainer","Supply","User contribution")))
> 
> plot(corresp(data,nf=2),xlim=c(-1,1),ylim=c(-1,1));
> 
> The plot is illegible, I want to do this in 3d, but I don't know how!

You need more data to do that in 3d. You have three rows, and you can
get only 2d with corresp.

You can use scatterplot3d or rgl functions for 3d plotting (both in
packages with the same name) after you get data where you have more than
two axes. These figures easily get illegible, though.

cheers (again), jari oksanen
-- 
Jari Oksanen <jarioksa at sun3.oulu.fi>




More information about the R-help mailing list