Displaying 20 results from an estimated 6000 matches similar to: "3d plots of mca() results?"
2012 Jul 31
2
drawing a specific "plane" with scatterplot3d
Dear All,
using the example from the package scatterplot3d I created a 3d plot as follows:
x <-rnorm(500,50,2)
y <-rnorm(500,5,1)
z <-rnorm(500,6,1)
scatterplot3d(x, y, z, highlight.3d=TRUE, col.axis="blue",col.grid="lightblue", main="scatterplot3d - 1", pch=20)
I would like to ask if anyone could help me with the following:
1. I would like to draw a
2008 May 06
1
Plotting separate populations in scatterplot3d
Hi,
I'm having trouble plotting populations as separate colors and points in the
3d scatterplot package. I have a column with 4 different population names
and 3 columns with my data. I want to plot each population with a different
color and pch. In addition, I want to use the type="h" in my plotting so
that I can see the points clearly in my graph( for publication purposes).
2008 Oct 02
3
Adding plane in a 3D scatterplot
I have drawn a 3D scatter plot :
library(mnormt)
library(scatterplot3d)
dat = cbind(rmnorm(3, rep(0,2), diag(2)), 1:3)
scatterplot3d(dat)
Now I want to do 2 things :
1 : In the Z-axis (i.e. height), I want to see only numbers 1,2,3, etc NOT, 1,1.5,2,2.5.............
2. I want to add two Horizontal planes at hight z=2 and z=3. Those two planes should look like "bottom" of that 3D plot
2007 Jan 31
2
mca-graphics: all elements overlapping in the help-example for multiple correspondence analysis
Dear all,
I tried out the example in the help document for mca (the multiple correspondence analysis of the MASS package):
farms.mca <- mca(farms, abbrev=TRUE)
farms.mca
plot(farms.mca)
But the graphic that I get seems unfeasible to me: I cannot recognize the numbers (printed in black) because they are all overlapping and concealing each other. I don ?t dare using my own data, which
2000 Jul 11
0
A small error in mca ?
Dear list,
Working the example in Stats complements to V&R 3rd ed., I found this :
> library(MASS)
> library(mva)
> data(farms)
> plot(mca(farms,abbrev=TRUE),cex=rep(0.7,2))
# ... Works OK
# Sheer curiosity ...
> plot(mca(farms,abbrev=TRUE,nf=4),cex=rep(0.7,2))
Error in rep(p * X.svd$d[sec], c(n, n)) : invalid number of copies in "rep"
A bit of exploration in the
2011 Feb 05
1
different results in MASS's mca and SAS's corresp
Dear list:
I have tried MASS's mca function and SAS's PROC corresp on the
farms data (included in MASS, also used as mca's example), the
results are different:
R: mca(farms)$rs:
1 2
1 0.059296637 0.0455871427
2 0.043077902 -0.0354728795
3 0.059834286 0.0730485572
4 0.059834286 0.0730485572
5 0.012900181 -0.0503121890
6
2008 Oct 23
2
map points from scatterplot3d onto 2d fitted plane
Dear R helpers,
I have a 3D scatter plot that I have generated from scatterplot3d (which
looks great- thanks!) and I can see that the points in my graph fall in a
plane.
Following the example 5 from 3D scatter plot (below) I have fitted a
regression plane.
Now what I would like to do is a rotation so that my new co-ordinate system
is about the fitted plane (by finding the normal to the plane
2002 Jul 03
2
grouping in scatterplot3d
Hi all,
I've been using the scatterplot3d function (from the scatterplot3d library) to create 3D plots. I was wondering whether there is
anyway to group the points according to a particular group variable. For example I used the plot function as
plot( factor( <GROUPINGVAR> ) , <PLOTVARS> )
to organise the results in a according to the grouping variable. I was wondering
2005 May 31
2
plane3d
I am attempting to fit a logistic regression plane to a 3-D scatterplot
(which was generated using scatterplot3d). I've noticed that the help
pages of scatterplot3d include a function titled "plane3d." However,
when I attempt to use the function, I get the following message:
Error: couldn't find function "plane3d"
I've searched the archives and found no
2002 Jun 27
1
using identify() with scatterplot3d()
Dear all
I am running R 1.4.1 on a Linux box. I have tried to label data points
in a 3-d scatterplot, but without much success. What I did was as
follows:
> scatterplot3d(x, y, z)
> identify(x, y, z, row.names(Data))
When I tried to click on/near the data points, I either receive this
msg:
warning: no point with 0.25 inches,
or some numbers in Data, not the row names, come up on the
2012 Jul 23
3
3D scatterplot, using size of symbols for the fourth variable
Dear R fans,
I would like to create a scatterplot showing the relationship between 4
continuous variables. I thought of using the package "scatterplot 3d" to
have a 3-dimensional plot and then using the size of the symbols to
represent the 4th variable.
Does anybody know how to do this?
I already tried to create this graph using the colour of the symbols, but I
was unable to generate
2002 Jun 20
2
scatterplot3d
Hello,
I am trying to replicate example 4 in the package 'scatterplot3d':
s3d.dat_data.frame(cols=as.vector(col(my.model4)),
rows=as.vector(row(my.model4)),
value=as.vector(my.model4))
scatterplot3d(s3d.dat, type="h", lwd=5, pch=" ",
x.ticklabs=colnames(my.model4), y.ticklabs=rownames(my.model4),
main="Conditional probabilities, Model 3")
Nice! but,
2008 Jul 24
1
Problem with scatterplot3d example
I tried to run the following example from section 4.1.4 of the "Scatterplot3d
-
an R package for Visualizing Multivariate Data" vignette and got an error on
the part that plots the regression plane:
> library(scatterplot3d)
> data(trees)
> s3d <- scatterplot3d(trees, type = "h", color = "blue",
+ angle = 55, scale.y = 0.7, pch = 16, main = "Adding
2010 Feb 03
1
how to combine 2 3d scatterplots in R
hi,
I am new to R and i have managed to create 2 3d scatterplots with R and
Iwaswondering if there is a way to connect them.
I was also wondering how i can add arrows to the plot similar to the 2d
comment arrows()?
--
View this message in context: http://n4.nabble.com/how-to-combine-2-3d-scatterplots-in-R-tp1461485p1461485.html
Sent from the R help mailing list archive at Nabble.com.
2008 Mar 04
4
colored 3d scatter plot
Hi All,
I have data for two groups, group with 100 points and group B with 15
points. i needed plot these two groups in one scatter plot, each group with
a different color. I tried
plot3d(data, col = c("red", "blue")[c(rep(1, 100), rep(2, 15))], pch=20) .
this works but the graph does not look good.
the other option that I tried is
scatterplot3d(data, type="p",
2009 May 21
1
Axis Limits in Scatterplot3d
Hi,
How do you obtain the limits of the plotting region in a scatterplot3d
plot? `par('usr')' does not seem to give sensible values, and that
vector only has 4 elements (not the expected 6).
Alan
2006 Feb 27
1
4D stacked column chart, Excel -> R
Hi All.
I'd like to programm a 4 dimensional chart in R.
Acctually I wanted to solve that problem in Excel cause I had the data there.
Here is a link of my actual problem description (there are some chart pictures as well)....
http://www.mrexcel.com/board2/viewtopic.php?t=187336&highlight=stacked+column
because I still couldn't solve that problem I came to R.
The chart should be
2008 Oct 03
1
3D scatter, groups, RdbiPgSQL...
hello,
I wish to create some 3d scatter diagrams visualising different grouped
data set by a given field in the database. I tried the scatterplot3d
package, as well as the plot3d and scatter3d functions (both within the
rgl resp. Rcmdr package). My first question is, whether is it possibe to
group data in the scatterplot3d and plot3d, because I did not succeed to
use the groups = ...
2005 Sep 28
1
scatterplot3d + density() + polygon(color)
Hi R Users,
How to use the function polygon()
together with the package scatterplot3d?
I am trying to color below of the curves
defined for the function density().
I tried to use the site: R GRAPH GALLERY
as tutorial.
I tried to adapt the example of this page:
[figure]:
http://addictedtor.free.fr/graphiques/RGraphGallery.php?graph=30
[code]:
2008 May 13
1
3dscatterplot -different colors for different factors of the same variable
Dear R users,
I was trying to do a 3d scatterplot for the following set of datas:
"obj" "time" "X" "Y"
"1" "yellow" "333" "388.7" "492.3"
"2" "yellow" "567" "388.7" "492.3"
"3" "green" "621" "135.5"