Displaying 20 results from an estimated 20000 matches similar to: "sm.regression - RGL display without data points?"
2007 Sep 27
0
New version (2.2) of the sm package
The sm package (by Adrian Bowman and Adelchi Azzalini) implements a
variety of nonparametric smoothing techniques, centred on nonparametric
regression for one or two covariates and density estimation for up to
three variables. A new version of the package is now available on CRAN.
In an earlier unannounced version (2.1), a variety of methods of
bandwidth
selection were added, with default
2007 Sep 27
0
New version (2.2) of the sm package
The sm package (by Adrian Bowman and Adelchi Azzalini) implements a
variety of nonparametric smoothing techniques, centred on nonparametric
regression for one or two covariates and density estimation for up to
three variables. A new version of the package is now available on CRAN.
In an earlier unannounced version (2.1), a variety of methods of
bandwidth
selection were added, with default
2007 Aug 16
1
Question about sm.options & sm.survival
Hi, there:
It's my first time to post question in this forum, so thanks for your
tolerance if my question is too naive. I am using a nonparametric smoothing
procedure in sm package to generate smoothed survival curves for continuous
covariate. I want to truncate the suvival curve and only display the part
with covariate value between 0 and 7. The following is the code I wrote:
2009 Apr 08
1
persp3d and rgl.viewpoint for rotating 3D plots
Dear R-users,
within the rgl-package, I would have a question about the usage of persp3d in combination of rgl.viewpoint.
I am not able to figure out how to let a 3D plot rotating around likewise the example in ?rgl.viewpoint. It seems that when I use persp3d(...) I see something on my screen, which is different from what I get when it's rotating. Is there any different behavior between
2017 Oct 19
1
overlaying points and lines on a surface3d rgl plot with axes
Hi R users and experts,
I am interested in learning more about the use of 3D plots. Specifically, I
want to add points and lines to a surface plot. And get the axes and labels
plotted also. Here is what I have tried with an example data set :
library(rgl)
vol2 <- 2*volcano # Exaggerate the relief
library(reshape)
mvol2 <- melt(vol2)
str(mvol2)
# First, persp and persp3d plots do not succeed
2012 Mar 25
0
sm.density kernel estimation for points
Hi!
I have two dimensional dataset which has and I need to decide if a point
lies in some "confidence level". If a point has low confidence/density
it can be anomaly which I need to find.
For example:
#load library
library(sm)
#get some data
x.locs = c(74, 74.5, 75, 77,74.5)
y.locs = c(64, 63.5, 63, 61,61.5)
points = cbind(x.locs, y.locs)
#plot it
plot(points)
#get points density
2009 Mar 19
1
two plots side-by-side with persp3d(rgl)
Dear R-users,
I would like to place two 3D plots side-by-side in a rgl-setting. It would nice to have something like "par(mfrow=c(1,2))" for basic plots, or an array framework for wireframe(lattice) (see example below). I only managed to overlap two persp3d plots.
My final idea would be to animate both surfaces using play3d(rgl).
Thanks in advance for any help.
Best,
Carlo Giovanni
2009 Jul 31
0
New package for interactive brushing/cropping/deleting points from RGL : sculpt3d v 0.2
sculpt3d is a GTK+ toolbar that allows for more interactive control of a
dataset inside the RGL plot window.
Controls for simple brushing, highlighting, labeling, and mouseMode changes
are provided by point-and-click rather than through the R terminal
interface.
More discussion and demo movie:
http://www.scwn.net/2009/07/sculpt3d/
Package at:
2009 Jul 31
0
New package for interactive brushing/cropping/deleting points from RGL : sculpt3d v 0.2
sculpt3d is a GTK+ toolbar that allows for more interactive control of a
dataset inside the RGL plot window.
Controls for simple brushing, highlighting, labeling, and mouseMode changes
are provided by point-and-click rather than through the R terminal
interface.
More discussion and demo movie:
http://www.scwn.net/2009/07/sculpt3d/
Package at:
2010 Nov 08
2
Sample size calculation for differences between two very small proportions (Fisher's exact test or others)?
Hi,
I'm try to compute the minimum sample size needed to have at least an 80% of power, with alpha=0.05. The problem is that empirical proportions are really small: 0.00154 in one case and 0.00234. These are the estimated failure proportion of two medical treatments.
Thomas and Conlon (1992) suggested Fisher's exact test and proposed a computational method, which according to their table
2010 Jul 27
1
rgl package don't draw points with a color over points with another color
I want to plot points with different colors to show different
selections of points in a 3d plot.
My problem is that if I plot a red point at a location where already a
blue point was plotted, than the point is still blue.
Is there a parameter or so which can be used to draw over a existing point?
Example:
> require(rgl)
> open3d()
> plot3d(a<-c(1,2,3,4,5),a,a,type="l",
2009 Aug 13
1
joining two points in rgl
Hi!!
I need to draw a cylinder/tube joining two points. I am trying to make something presentable, I have been able to do it using lines3d. But is it possible to
increase the thickness of the lines? The size parameter does not work. Does any one have any suggestions?
Thanks ../Murli
library(rgl)
pts<-structure(list(x = c(-0.975688, -0.975688), y = c(9.258795, -9.258795
), z = c(-1.8, 1.8)),
2010 Jun 28
2
Identify and extract a whole word of variable length using regular expressions
Hi everybody,
I'm quite weak with regular expression, and I need some help...
I have strings of the type
>a
[1,] "ppe46 Rv3018c MT3098/MT3101 MTV012.32c"
[2,] "ppe16 Rv1135c MT1168"
[3,] "ppe21 Rv1548c MT1599 MTCY48.17"
[4,] "ppe12 Rv0755c MT0779"
[5,] "PE_PGRS51 Rv3367"
2009 Oct 27
1
sm.regression
Hi all,
I was looking for a non parametric survival analysis and I came up with the
following sample from the web.
However, I could not run it. Which library or function does
"sm.regression" require?
x <- runif(100,-2, 2)
y <- x^2 + rnorm(50)
sm.regression(x, y, h=0.5)
Error: could not find function "sm.regression"
Thanks
Val
[[alternative HTML version deleted]]
2009 Nov 26
13
How to display an image on RGL plot?
Hi all.
It's been a long time since I wrote to this list. Glad to see the R project
well and working.
I am working with a 3D plot similar to this:
http://old.nabble.com/file/p26525177/rgl-device.png rgl-device.png
The underlying picture is a JPEG image, loaded with the rimage package and
coerced to the matrix.
Spheres denote control points, collected from this picture and must be
2008 Jun 21
1
question on rgl.surface
I'd like to use rgl.surface (or some other function if more
appropriate) to create a horizontal and vertical transparent grey
slice (plane) running through both the x and y origins and extending
across the z axis, i.e. the 3-d equivalent of the normal 2-d
coordinate axes we are all familiar with. The examples for rgl.surface
are a bit more complex than what I need and I am having trouble
2019 Jun 02
0
rgl install for R 3.7
On 02/06/2019 16:28, Koenker, Roger W wrote:
> I?ve installed R 3.7.0 on a new laptop running macos 10.14.5 and have managed to get most of my usual packages
I presume 'R 3.7.0' is R-devel: it is not released and may never be
released under that version.
> to compile from source with a ~/.R/Makevars file that looks like this:
>
> CC=/usr/local/clang8/bin/clang
>
2015 Nov 05
0
navigation mode(s) in rgl
On 04/11/2015 6:56 PM, Michael Sumner wrote:
> Hello, I've CCd' Duncan Murdoch as the rgl maintainer, but I'm also keen to
> hear from the broader community of any insights.
>
> In rgl my understanding is that there's only one rotation-navigation mode,
> where you left-click hold and the view pivots abound the centre of the
> scene.
That's not quite true:
2007 Dec 08
1
OT: 3d surfaces with transparency
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I would be grateful if anyone had suggestions
about software that could (1) create 3D surface
plots, (2) handle transparency/alpha blending,
(3) generate output in some vector graphics format
that preserved the transparency. I could also
live with a combination of two programs, one
to generate the basic figure and another to
modify the output
2006 Dec 11
2
updating rgl on debian stable
Running: R Version 2.3.1 (2006-06-01), debian stable
I'm testing an application that uses rgl (installed with apt-get install
r-cran-rgl)
but fails, at least partly because that application uses a more current
version.
There is also a mysterious error msg from Xlib:
> library(car)
> library(rgl)
> iris.mod <- lm(cbind(Sepal.Length, Sepal.Width, Petal.Length,
Petal.Width) ~