Displaying 20 results from an estimated 1100 matches similar to: "scatter3d: problem with spheres-color"
2012 Feb 16
1
Is there a function for scatter3d with Categorical responses?
Hello,
I'm working with a series (30+) of hydrologic metrics and 10 vegetation
communities and I need to determine which of the metrics provide the best
separability for each of the vegetation communities. The hydrologic
metrics are highly correlated, therefore the need to reduce the number of
them considered is critically important.
I've been looking at the scatter3d function in the
2010 Jun 22
1
Remove squares from scatter3D
Dear All,
I?ve been trying to find an option to scatter3D from rcmdr to remove the individual points from the plots but to no help so far. Removing the residuals is easy, but I cannot find a similar point option. Is there such an option that can be set to FALSE?
Best,
//M
2005 Oct 04
1
Rcmdr and scatter3d
Hi folks,
I'd like to use scatter3d (which is in R commander) to plot more than one
dataset in the same graph, each dataset with a different color. The kind
of stuff you would do with "holdon" in Matlab.
I read a recent message that was posted to this list with a similar
problem, but I couldn't understand the reply. Could someone give me one
example? How do you plot subgroups
2007 Sep 04
1
Rcmdr scatter3d
Hi, I am using the scatter3d function in Rcmdr to plot
the first 3 principal components, I have a grouping
variable of 2 groups, and tried to plot points with
different colors, somehow I couldn't change the
default colors of the 2 groups (blue and green)by
using option points.col=c('red','blue'), what's the
problem here?
scatter3d(all.pca$x[,2],all.pca$x[,3],all.pca$x[,1],
2011 Dec 09
1
rgl.postscript() failure when saving a scene
Dear all,
I write to the community to know if other people
expierenced the same problem. I want to save a rgl
scene where I plotted a 3d cloud of spheres whose
radius is set proportional to a given variable and
coloured by another group variable and with 95%
ellipsoids for distribution of any group.
I had no problem at all for coding but I had two
problem when saving the scene (in any format)
2005 Feb 28
2
3d scatterplots of more than 1 data set
hi,
i am need to plot two or more sets of data in a 3d scatterplot,
each set with different color.
i tried Rcmdr, and the 3d scatterplot facility, based on rgl. that
is what i need. but i cannot seem to code different sets of data
differently. any help will be very helpful.
i tried scatterplot3d, but it is difficult to get the right angle in
it. i need to be able to rotate the axes, and
2005 Oct 05
3
transparent surface in rgl
Hi all
I am a complete newbie to this list (just subscribed) and a newcomer to
R (an S user from olden times). I have been using scatter3d to create a
3d scatter plot with surface. The graphic is created within the rgl
package and I have used rgl.postscript to export it so I can generate a
publication quality image. My problem is that the plotted surface is no
longer transparent in the
2006 Sep 29
2
scatter3d() model.summary coefficients?
Hello All,
I am a R newbie and am probably misinterpreting something really
obvious...
In the Rcmdr package there is a scatter3d() function that can fit a
curve and also provide coefficients for the model. If I'm understanding
this right, I think it's calling the lower level stats package function
lm(), which is the part that actually does the curve fitting.
Anyway, what has me
2009 Dec 02
2
scatter3d with groups
Dear R users,
I'm currently visualizing my data using scatter3d from the "Rcmdr"
package. I have data points which can be separated in two classes. Data
points from class 'A' should be colourised red and data points in class
'B' should be colourised 'blue'. No matter what I try, the data points
are always blue.
I attached a (very) minimal example to
2008 Sep 24
2
rgl: ellipse3d with axes
Last week I asked about data ellipses with rgl:::ellipse3d() with lines
showing the principal axes.
(The goal is a visual demonstration of PCA as a rotation of variable
space to component space.)
I was trying, unsuccessfully, to use princomp() to generate the PCA axes
and plot them using
segments3d:
> > PC <- princomp(trees)
> > sdev <- PC$sdev # component standard
2011 Jan 04
2
Print plot to pdf, jpg or any other format when using scatter3d error
Hi,
I have been trying to output my graphs to a file (jpeg, pdf, ps, it
doesnt matter) but i cant seem to be able to get it to output. I tried a
few things but none of them worked and am lost as what to do now. I am
using the scatter3d function, and it prints out the graphs on tot he
screen without any problems, but when it comes to writing them to a file
i cant make it work. Is there any
2013 Mar 05
1
different colors for two wireframe spheres
Dear List,
I have the code below adapted from the lattice-package examples to draw two spheres. I would now like to give
both different surface colors, e.g. one red and one blue.
## 3-D surface parametrized on a 2-D grid
n <- 10
tx <- matrix(seq(-pi, pi, length.out = 2*n), 2*n, n)
ty <- matrix(seq(-pi, pi, length.out = n) / 2, 2*n, n, byrow = T)
xx <-
2002 Nov 02
1
problem with expand.model.frame
Dear R list members,
I'm encountering a problem with expand.model.frame(): Suppose that I define
the following simple function (meant
just to illustrate the problem):
> fun <- function(model){
+ expand.model.frame(model, all.vars(formula(model)))
+ }
>
and I have the following model, created with an explicit data argument:
> mod
Call:
2002 Dec 01
1
generating contrast names
Dear R-devel list members,
I'd like to suggest a more flexible procedure for generating contrast
names. I apologise for a relatively long message -- I want my proposal to
be clear.
I've never liked the current approach. For example, the names generated by
contr.treatment paste factor to level names with no separation between the
two; contr.sum simply numbers contrasts (I recall an
2011 Jan 14
1
Question about scatterplot in package car
I am getting an error message from scatterplot:
> library(car)
> scatterplot(Prestige$income~Prestige$type)
Error in Summary.factor(c(2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, :
range not meaningful for factors
In addition: Warning message:
In Ops.factor(x[floor(d)], x[ceiling(d)]) : + not meaningful for factors
>
The command does output the kind of graph that I want (boxplots).
2017 Oct 15
2
Bootstrapped Regression
Hello Rui,
Thanks for your helpful suggestions. Just for illustration, let's use the
well known Duncan dataset of prestige vs education + income that is
contained in the "car" package. Suppose I wish to use boot function to
bootstrap a linear regression of prestige ~ education + income and use the
following script:
duncan.function <- function(data, indices) {data =
2017 Oct 15
0
Bootstrapped Regression
Hello,
Much clearer now, thanks.
It's a matter of changing the function boot calls to return the
predicted values at the point of interess, education = 50, income = 75.
I have changed the way the function uses the indices a bit, the result
is the same, it's just the way I usually do it.
pred.duncan.function <- function(data, indices) {
mod <- lm(prestige ~ education +
2008 May 12
2
ggplot2: font size mismatch for pdf output
Hi
In the following, the graph I see on the screen and the .png output
coincide. However, in the .pdf file, the fonts seem to be scaled
fairly larger, resulting in the label for the top legend disappearing.
Is this an infelicity or bug, or is there something I've missed?
More generally, how do I control the size of fonts used in legends
and axis labels?
library(car)
library(ggplot2)
qp
2006 Sep 19
2
help w/ Powerware Prestige 9
Hi,
I've got a Powerware Prestige 9 1kVA UPS that seems to not be working with
nut. It's not in the current "supported hardware" list, but the old
bcmxcp page lists it as being a UPS that speaks that protocol.
I have the following in my ups.conf
[powerware]
driver = bcmxcp
port = /dev/ttyS0
desc = "Powerware Prestige 9 EXT"
baud_rate = 2400
And when I start the
2005 Feb 24
1
choppy and cracking sound from zyxel prestige 2002
Hi,
Does anyone have suggestions hooking Zyxel Prestige 2002 to Asterisk?
I have tested Zyxel Prestige with both supported codecs.
Call with G.711 sounds very choppy and cracking. Almost can't understand
a word.
Today I installed G.729 support into Asterisk but unbearable voice
quality remains. It's a little bit better though.
I have tested that Zyxel ATA with some commercial SIP