similar to: 3d surface plot (ideally using rgl package)?

Displaying 12 results from an estimated 12 matches similar to: "3d surface plot (ideally using rgl package)?"

1999 Jul 05
1
Anomaly in MIN (MAX) ?
I have observed the following differences in the use of min/max functions between R and Splus (4.5) R (0.64.1): min(c(NA,NA,NA),na.rm=T) returns the following Warning in min(..., na.rm = na.rm) : no finite arguments to min/max; returning extreme. [1] 2147483647 S-Plus 4.5( Win32 edition) min(c(NA,NA,NA),na.rm=T) returns [1] NA The S-PLUS behaviour seems to be the right one Thanks,
1998 Nov 10
1
Pivoting a data.frame
Hi, I would like tranform a data.frame which has a structure similar to the: Col1 Col2 Col3 B1 1 0.3 B1 2 0.4 B1 3 0.3 B2 1 0.2 B2 2 0.2 B2 5 0.4 B2 6 0.1 B3 1 0.2 B3 2 0.1 B3 5 0.2 [Data Frame 1] Into the following structure (pivoting or transpose is being used sometimes to
1999 Mar 24
2
Change of parsing parameters to functions between 0.63.1 and 0.63.3 ?
Hi, I wonder whether the mechanism of parsing parameters to functions has changed between 0.63.1 and 0.63.3? The following code yeils different results in R 0.63.1 (Version 0.63.1 (Dec 5, 1998)) and R 0.63.3. cave<-function(x,a,b) { return(c(mean(x[a],na.rm=T),mean(x[b],na.rm=T))) } datx <- data.frame(rbind(c(1,2,3,4),c(4,5,6,7)))
1999 Mar 24
2
Change of parsing parameters to functions between 0.63.1 and 0.63.3 ?
Hi, I wonder whether the mechanism of parsing parameters to functions has changed between 0.63.1 and 0.63.3? The following code yeils different results in R 0.63.1 (Version 0.63.1 (Dec 5, 1998)) and R 0.63.3. cave<-function(x,a,b) { return(c(mean(x[a],na.rm=T),mean(x[b],na.rm=T))) } datx <- data.frame(rbind(c(1,2,3,4),c(4,5,6,7)))
2012 Mar 12
1
ggplot2: coord_polar
Hello HelpeRs, The last print statement in the code segment below results in : Error in data$x[data$x == -Inf] <- range$x.range[1] : replacement has length zero R version 2.14.1 Patched (2011-12-23 r57982) ggplot2: version 0.90 OS : Linux (64bit) Any thoughts? Many Thanks, A. ## code segment starts here df <- data.frame( trt = factor(c(1, 1, 2, 2)), resp = c(1, 5,
2002 Mar 26
1
ellipsis question
Hello R experten I have just written a little function to calculate all pairwise combinations of two vector arguments: > pair(c(1,2,3),c(7,8)) [,1] [,2] [1,] 1 7 [2,] 1 8 [3,] 2 7 [4,] 2 8 [5,] 3 7 [6,] 3 8 > I want to generalize this to any number of arguments, for example, <fantasy> > ntuple(c(1,2,3),c(7,8),c(14,15)) [,1] [,2]
2010 Aug 11
2
question on contour function
Dear All, I tried to plot contour lines using R function contour, but got the results which are not expected. require(RTOMO) x <- seq(-1,1,0.1) y <- seq(-1,1,0.1) xy <- meshgrid(x,y) z <- xy$x^2+ 3*xy$y^2 contour(x,y,z,col="blue",xlab="x",ylab="y") The above code gave me the contour graph for z=3*x^2+y^2 rather than z=x^2+3*y^2. Is anyone know the
2006 May 26
2
Is there a way to draw 3d plot?
Hi all, I have a 2D matrix, which has 100 rows, and 100 columns, I have a 2D matrix, with 100 rows and 100 columns, I want to display it using 3D plot, much like plot3d and mesh/surf functions in matlab. Specifically, in matlab, I just need to do the following: -------- [X, Y]=meshgrid([0:0.01:0.99, 0:0.01:0.99]); % Z is my 2D matrix, surf(X, Y, Z); -------- Note that X and Y are created so
2003 Oct 16
2
Interpolation of azimuth values
Hello I will make an interpolation of data which represents azimuth direction ( angle from north in clockwise direction) values. But there is a problem. Say, for instance, while 1 and 359 indicate somewhat same direction, interpolation puts values in the range from 1 to 359. What can I do to solve the problem ? Anything you offer ? thanks in advance Ahmet Temiz General Directory of
2007 Jan 19
1
I want install samba on debian
Dear I am very beginners for samba. I want to install samba on Debian. I want maintain file server. We have 50 PCs that are running on WinXP I want connect these PCs to PC it run on Debian . Over IP Range is 192.168.1.0 255.255.255.0 What are the main step to install samba on debian . DNS server is must or not? Can you help me thanks
2010 Sep 29
1
Obtaining lattice equivalent smoothed (loess) plot in ggplot
Hello, I have been struggling to do a plot in ggplot(2) that's of lattice equivalent. The following code shows the lattice plot.
2018 Feb 26
0
Linking libc++(abi) (ideally statically) on non-llvm OS
I've been unsuccessfully trying tell g++ or clang++ to use libc++(abi) when building a C++ source file (single file for test purposes) when the host cc and c++ are all configured to use glibc and libstdc++. My goal is to statically links musl libc and libc++(abi) and create binaries for Linux that just work anywhere. Naturally, I'm not building a .so or depending on dynamic libs. My last