search for: maplepark

Displaying 20 results from an estimated 30 matches for "maplepark".

2004 Aug 27
1
Plotting irregular grid as image or persp
Hi, I have an array of 2d node locations and an array triangles, and would like to plot something like a image or persp. An example of doing it with rgl is: library(ncdf) library(rgl) # wget http://www.maplepark.com/~drf5n/extras/teapot.nc teapot<-open.ncdf("teapot.nc") z<-get.var.ncdf(teapot,"tris") l<-get.var.ncdf(teapot,"locations") z<-as.vector(z) demo.teapot<-function(x=1){ rgl.triangles(l[1,z],l[2,z],l[3,z]) x<-readline("Hit any key t...
2007 May 04
1
Partitioning a kde2d into equal probability areas
...5)) but for 2d I'd need more constraints. Any suggestions for how to approach this? Is seems like a spatial sampling problem but I'm not sure where to look. Thanks for your time, Dave -- Dr. David Forrest drf at vims.edu (804)684-7900w drf5n at maplepark.com (804)642-0662h http://maplepark.com/~drf5n/
2005 Jun 06
9
R Graph Gallery : categorization of the graphs
Hello all, It seems that the next improvement to the R Graph Gallery is categorization of the graphics, that way each graph will be easier to find. That step should be done *carefully* if we want to avoid the opposite side-effect : graph not reachable through the categories. That's why the wisdom of the R community is required. Graphics will be classified in : - categories -
2005 Mar 22
1
sub('^','var',1:3) produces unexpected results
...t;1var" "2var" "3var" # This generates what I expected from the first case: sub('^.','var',11:13) # "var1" "var2" "var3" Dave -- Dr. David Forrest drf at vims.edu (804)684-7900w drf5n at maplepark.com (804)642-0662h http://maplepark.com/~drf5n/
2003 Jul 11
3
postscript/eps label clipping
...ex graphics. If I don't set a pointsize, the letters aren't clipped, but the graphs are tiny with respect to the x/y labels. Is there something else I should be adjusting instead? Thanks for your time, Dave -- Dave Forrest (434)924-3954w(111B) (804)642-0662h (804)695-2026p drf5n at maplepark.com http://mug.sys.virginia.edu/~drf5n/
2004 Aug 25
0
Q: how to submit documentation patches?
...things, but the documentation is hard to patch and improve. And back to my subject: Is producing patches against the authoritative documentation the recommended way to improve the documentation? Dave -- Dave Forrest drf at vims.edu (804)684-7900w drf5n at maplepark.com (804)642-0662h http://maplepark.com/~drf5n/ -------------- next part -------------- diff -ur R-1.9.1-dist/src/library/utils/man/methods.Rd R-1.9.1/src/library/utils/man/methods.Rd --- R-1.9.1-dist/src/library/utils/man/methods.Rd 20...
2004 Dec 08
2
what about a mascot ?
My friend Veslot proposed me the Raven ! http://www.teteamodeler.com/allopass/images/corbeau.jpg As a matter of fact the intelligence of this bird is comparable to one of a monkey, although its brain is close to a reptile brain. R is quite the same : small, compact, but so clever. This is a canadian website explaining (in french) the R-aven intelligence
2005 Jun 14
0
Plotting quiver vector tensor arrows 2d field data
...,v) I added these functions as an example to the Wiki: http://fawn.unibw-hamburg.de/cgi-bin/Rwiki.pl?GraphGallery http://fawn.unibw-hamburg.de/cgi-bin/Rwiki.pl?QuiverPlot Thanks for your time, Dave -- Dr. David Forrest drf at vims.edu (804)684-7900w drf5n at maplepark.com (804)642-0662h http://maplepark.com/~drf5n/
2006 Feb 21
1
color quantization / binning a variable into levels
...xmin<-min(x) xmax<-max(x) 1+floor(n*(x-xmin)/(xmax-xmin)*.999) } x<- -10:10 cbind(x,quantize(x,2),quantize(x),quantize(x,21)) quantize(x,breaks=c(5,7)) # Thanks for your time, Dave -- Dr. David Forrest drf at vims.edu (804)684-7900w drf5n at maplepark.com (804)642-0662h http://maplepark.com/~drf5n/
2007 Jan 11
1
zero margin / marginless plots
...dev.off() The resultant file has about a 10 pixel margin around these lines, and I'm not sure what parameter or function is controlling this offset. Any hints? Thanks for your time, Dave -- Dr. David Forrest drf at vims.edu (804)684-7900w drf5n at maplepark.com (804)642-0662h http://maplepark.com/~drf5n/
2007 Mar 12
3
reading BMP into R
Um texto embutido e sem conjunto de caracteres especificado associado... Nome: n?o dispon?vel Url: https://stat.ethz.ch/pipermail/r-help/attachments/20070312/112cd7f9/attachment.pl
2007 Mar 27
1
Using nnet
I have a problem when using nnet to predict the negative values. For example : X = matrix(c(1,1,0,0,1,0,1,0),4,2) X Y = matrix(c(0,1,1,0)) - 0.5 # XOR - 0.5 Y nn = nnet(X,Y,size=3) val = predict(nn,X) val # this is expected to be close to Y, but it's not ! The 'val' is always positive. I tried to change the options, but the result isn't much better. Could someone give me an
2005 Apr 01
2
(no answer)
I wish to perform brain surgery this afternoon at 4pm and don't know where to start. My background is the history of great statistician sports legends but I am willing to learn. I know there are courses and numerous books on brain surgery but I don't have the time for those. Please direct me to the appropriate HowTos, and be on standby for solving any problem I may encounter while
2007 Apr 24
5
Random Number Generator of Park and Miller
Hi, I failed to search for R package providing random number generator of "Park and Miller". Anyone know any R package supporting this kind of function? Thanks, Grace -- View this message in context: http://www.nabble.com/Random-Number-Generator-of-Park-and-Miller-tf3636501.html#a10154554 Sent from the R help mailing list archive at Nabble.com.
2007 Jan 08
1
Does strptime(...,tz="GMT") do anything?
...Y%m%d %H:%M",tz="UTC")+3600*3 [1] "2006-12-01 04:02:00 EST" Or am I doing something wrong with the strptime(..., tz="EST") function? Thanks for your time, Dave -- Dr. David Forrest drf at vims.edu (804)684-7900w drf5n at maplepark.com (804)642-0662h http://maplepark.com/~drf5n/
2005 Jun 09
1
Plot/manage spatial boundary data
...about 30 different islands. Maptools seems devoted to shapefiles, and it is unclear how to create 'polylists'. Is there a good way to manage and graph data defined on irregular grids? Dave -- Dr. David Forrest drf at vims.edu (804)684-7900w drf5n at maplepark.com (804)642-0662h http://maplepark.com/~drf5n/
2004 Sep 17
3
Removing constants from a data frame
...cs x[,-which(apply(x,2,is.constant))] I'd really like to be able to delete the constant columns without losing my non-numerics. Ignoring the character columns would be OK. Any suggestions? Dave -- Dave Forrest drf at vims.edu (804)684-7900w drf5n at maplepark.com (804)642-0662h http://maplepark.com/~drf5n/
2004 Dec 09
3
US 2004 Elections map
even for people who didn't like the outcome of the US elections this year, it must have been a joy to see all the nice (and not so nice) graphs that were shown. As an exercise, I recreated the map shown on the NY-Times website [ http://www.nytimes.com/packages/khtml/2004/11/03/politics/ 20041103_px_ELECT_GRAPHIC.html ] If you're interested,
2005 Mar 23
2
sub('^', .....) bugs (PR#7742)
>>>>> "David" == David Forrest <drf5n@maplepark.com> >>>>> on Tue, 22 Mar 2005 15:02:20 -0600 (CST) writes: David> According to help(sub), the ^ should match the David> zero-length string at the beginning of a string: yes, indeed. David> sub('^','var',1:3) # "1" "2&quot...
2005 Nov 09
8
Element-by-element multiplication operator?
Is there an element-by-element multiplication in R, like the .* operator in Matlab? eg: A (2x3) B (2x3) C=A.*B C (2x3) C = [[a11*b11 a12*b12 a13*b13]; [a21*b21 a22*b22 a23*b23]] I can't find one... Thanks -Mike Gates