Displaying 20 results from an estimated 2000 matches similar to: "Plotting a 3D surface"
2023 Oct 26
1
Inquiry about bandwidth rescaling in Ksmooth
Dear Sir, Madam, or to whom this may concern,
my name is Jan Failenschmid and I am a Ph.D. student at Tilburg University.
For my project I have been looking into different types of kernel regression estimators and corresponding R functions.
While comparing different functions I noticed that stats::ksmooth returned different estimates for the same bandwidth
as other kernel regression estimators
2023 Oct 26
1
Inquiry about bandwidth rescaling in Ksmooth
Apologies in advance if my comments don't help, in which case, no need
to respond, but I noted in ?ksmooth:
"bandwidth
the bandwidth. The kernels are scaled so that their quartiles (viewed
as probability densities) are at ? 0.25*bandwidth." So, could this be
a source of the discrepancies you cited?
Given that ?ksmooth explicitly says:
"Note:
This function was implemented for
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 = ...
2008 Nov 26
1
Smoothed 3D plots
DeaR list,
I'm trying to represent some information via 3D plots. My data and session
info are at the end of this message. So far, I have tried scatterplot3d
(scatterplot3d),
persp3d (rgl), persp (graphics) and scatter3d (Rmcdr) but any of them gave
me what I'd like to have as final result (please see [1] for a similar 3D
plot changing
PF by ypred, pdn by h4 and pup by h11).
In general
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
2007 Dec 18
2
Scatterplot3d model reporting question
I've used the scatterplot3d function to graph some data and had it
graph a "smooth" fit. Is there a way to actualy find out the function
of the surface? I've looked through the help and figured out how to get
it to report the following:
Family: gaussian
Link function: identity
Formula:
y ~ s(x, z)
Parametric coefficients:
Estimate Std. Error t value Pr(>|t|)
2009 May 12
2
selecting points on 3D scatterplots
Hello Everyone,
I am new to R and need some help.
I have a matrix of x,y,z coordinates that I would like to
interactively plot in 3D and then using the cursor select points on
the plot and have the coordinates sent to a matrix. I am using the rgl
package to plot the data at the moment because it allows me to rotate
and zoom. I also tried cloud and scatterplot3D.
I am looking for a function like
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
2005 Jan 17
2
3d bar plot
This graph -> http://www.math.hope.edu/~tanis/dallas/images/disth36.gif
is an example I found at
http://www.math.hope.edu/~tanis/dallas/disth1.html
created by Maple.
Does anybody know how to create something similar in R?
I have a feeling it could be possible using scatterplot3d
(perhaps with type=h, the fourth example in help('scatterplot3d')?),
but I cannot figure it out.
Thanks in
2011 Aug 09
1
How to pass different arguments to a function within lapply()?
Hi all,
I have a data frame called "rst", see below:
------------------------------------------------------------------------------------------
# This is a paste able example
# In case you don't have "KernSmooth" package installed, please uncomment
below line.
# install.packages("KernSmooth")
library(KernSmooth)
rst <- data.frame(hsp = rnorm(23), dal =
2011 Dec 29
2
3d plotting alternatives. I like persp, but regret the lack of plotmath.
I have been making simple functions to display regressions in a new
package called "rockchalk". For 3d illustrations, my functions use
persp, and I've grown to like working with it. As an example of the
kind of things I like to do, you might consult my lecture on
multicollinearity, which is by far the most detailed illustration I've
prepared.
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 Jun 28
1
3D ellipsoid confidence region
I am curious if there is code developed to plot confidence regions in 3D.
The scatterplot3d function generates the plot I want, but would like an 3D
equivalent to the data.ellipse function.
Any help in this direction would be appreciated, be it theoretical,
graphical, or otherwise.
Melanie Edwards
Senior Statistician
Exponent
15375 SE 30th PL, Suite 250
Bellevue, WA 98007
Tel: (425) 519-8714
2012 Apr 12
2
scatter3d: problem with spheres-color
Dear List,
I don't get scatter3d to color the sheres according to the '|' argument.
library(car)
scatter3d(prestige ~ income + education|type, data=Prestige)
The spheres on my screen are all colored the same and they are not
conditional on Prestige$type.
On the other hand: Fit3d and Ellipse3d are colored according to the
group argument.
rgl_0.92.879
car_2.0-12
R version 2.15.0
2005 Mar 01
1
looking for 3D plotting with real-time rotation
I would like to plot points in 3D and then be able to rotate the plot in real
time in order to understand the distribution of the points using the visual
parallax that results from the rotation.
The R-package scatterplot3d will plot in 3D, but I've not found a way to rotate
the results in real time. (It also does not seem to get the projection from 3D
to a viewing plane right.)
The R-package
2005 Mar 31
1
Surface plot for polynomial regression
Dear R-experts,
my goal is to visualize the following polynomial regression as a 3D-surface:
Z = b0 + b1*X + b2*Y + b3*XY + b4*X^2 + b5*Y^2
I believe that a solution to this problem may be of interest to a wider
range of scientists because the problem is a derivative of a more general
problem, i.e.: how to describe the relationship between one dependent
variable and the DIFFERENCE between two
2003 May 18
2
derivatives from loess (not locpoly)?
is there a way of estimating derivative curves, similar to the ones we get from 'locpoly', from 'loess' estimation.
i am interested in estimation of 1st and 2nd derivatives...
---------------------------------
[[alternate HTML version deleted]]
2011 Oct 31
1
3D Graph Surface and single points (eg wireframe with points)
Hallo!
?
I just want to make a 3D plot of a surface of a cone and want to plot some single points around.
?
I tried wireframe but cannot find how to plot single points
?
I tried scatterplot3d but there the surface is not simple to plot. And: How can I rotate the point of view by the z-axis
?
I tried persp3d but how can I add some single points?
?
Example:
?
library(lattice)
library(scatterplot3d)
2006 Feb 23
2
locpoly
Dear R Users,
When using locpoly function, number of output values is smaller than the number of input values. How is it possible to get number of output component $y equal to the number of inputs.
Thanks a lot,
Amir
---------------------------------
[[alternative HTML version deleted]]
2009 Oct 19
3
Variant of cloud with "sticks" from points to surface
Hi,
I'd like to
(1) plot a perspective view of a 3D scatterplot, with a fitted (curved)
surface;
(2) have a "stick" from each point vertically to the surface.
The latter helps one visualize where a point lies in 3D, relative to the
surface. Is there a variant of the cloud function (lattice package) which
might do this? As far as I can tell, the cloud function will