search for: brownrigg

Displaying 20 results from an estimated 139 matches for "brownrigg".

2010 Nov 17
3
Parameterising apply To Compute Rolling Average of Columns in a matrix
...through an apply call. Example: a= array(1:100, dim = c(17,2)) RollingAverage(a[, 1], 7) # works fine apply(a, 2, RollingAverage) # this doesnt work as it doesnt see RollingObs Is there a way to pass an additional parameter to apply? Thanks Paolo On 16 November 2010 20:05, Ray Brownrigg <Ray.Brownrigg@ecs.vuw.ac.nz>wrote: > On Wed, 17 Nov 2010, Paolo Rossi wrote: > > Hi, > > Can anyone suggest a clever way to compute a rolling weekly average of > the > > columns in a matrix? The column bit is straightforward – use apply given > a > > func...
2012 Feb 07
2
units for mapproject() function result
Does anyone know what the units are for projected coordinates obtained using mapproj's mapproject function with an Albers projection? Thanks for any and all help! Buck Stockhausen *************************************************** * Dr. William T. Stockhausen * *************************************************** * Resource Ecology and Fisheries Management * *
2008 Jun 12
2
arima() bug
...ry.size) 4: In makeARIMA(trarma[[1]], trarma[[2]], Delta, kappa) : Reached total allocation of 447Mb: see help(memory.size) Reproduce by: # 2 years of daily temperature data set.seed(1); x <- ts(20*sin((1:731)*2*pi/365) + 10 + rnorm(731, 0, 4), freq=365) arima(x, c(1, 0, 1), c(1, 0, 1)) Ray Brownrigg
1999 Nov 03
3
bug in Rdconvlib.pl converting to latex (PR#311)
...ng/Updating help pages for package `ssCatalogues' Formats: text html latex example /^[.datetimes$/: unmatched [] in regexp at /vol/R/etc/Rdconvlib.pl line 1322, <rdfile> chunk 36. : Unfortunately the script stops at that point, so none of the following help files are installed. Ray Brownrigg -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-devel-request@stat...
2009 Mar 12
3
Map using projection
Hi list, I have a real problem with plotting US state map. When I try to plot the northern state, there will be some blank space in the top of graph (see case 1 example), and when I plot southern states, there will be a blank space in the bottom of plot (see case 2). I spent almost 2 days to figure out a solution, but could not. Would you help me if you know what the problem is? Regards, Alireza
2003 Nov 03
10
USA map
R users, In S, there was a function called usa() that would draw the map of the United States, plus it had other options for graphics. I have looked but I can't find the equivalent in R. Is there one? Thanks, Jason
2006 Jul 31
0
Choropleths maps of the USA states (PR#9111)
Dear Colegues: I have tried to reach Ray Brownrigg, Ray.Brownrigg at mcs.vuw.ac.nz but my mails have turned back with the following comment did not reach the following recipient(s): Brownrigg at mcs.vuw.ac.nz on Mon, 31 Jul 2006 12:52:39 +0100 There is no such account in the address =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3...
2008 Jun 15
1
c.noquote() weirdness
...** a b c d e f g h i j k l m n o p [20] q r s t u v w x y z *** a b c d e f g h [39] i j k l m n o p q r s t u v w x y z > Again, I am only the messenger (so don't shoot me :-)). Regards, Ray Brownrigg
2002 Nov 27
1
dump() bug?
...nt(x) # now create a local one > ls() [1] "D" > dump("D", "D.q") > system("cat D.q") # here's the surprise "D" <- function (expr, name) .Internal(D(expr, name)) > The same thing happens with dump(list=ls(), "D.q"). Ray Brownrigg -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat....
1999 Nov 05
2
library maps for R
...is a lot of interest then I will submit it to CRAN. I know that Ross Ihaka is working on a new version for R, which does not have some of the limitations of the original S version. My version does not do projections or thinning but will accept the standard S[-Plus] database files (*.[GLN]). Ray Brownrigg -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat....
2000 Feb 16
2
contour() labels (PR#441)
R-0.99.0a now plots contour labels from contour(), but the values in levels seem to be coerced to integer. Reproduce by: > set.seed(2) > contour(matrix(runif(36),nrow=6), labcex=1.2) and compare with: > set.seed(2) > contour(matrix(10*runif(36),nrow=6), labcex=1.2) Ray Brownrigg -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-devel-request@stat....
2001 Dec 03
1
New package: g.data
...ot;) # It still lives in package:mydir g.data is the end result of my post "Reading and writing to S-like databases", sent to R-help on Sep 28, 2001. Thanks to all who responded, especially Dr. Agustin Lobo <alobo at ija.csic.es> and (by reference) Ray Brownrigg <Ray.Brownrigg at mcs.vuw.ac.nz>, who suggested using delay(); Martin Maechler <maechler at stat.math.ethz.ch>, Thomas Lumley <tlumley at u.washington.edu>, Brian D. Ripley <ripley at stats.ox.ac.uk>, and Peter Dalgaard <p.dalgaard at biostat.ku.dk>, who helped me with...
2001 Dec 03
1
New package: g.data
...ot;) # It still lives in package:mydir g.data is the end result of my post "Reading and writing to S-like databases", sent to R-help on Sep 28, 2001. Thanks to all who responded, especially Dr. Agustin Lobo <alobo at ija.csic.es> and (by reference) Ray Brownrigg <Ray.Brownrigg at mcs.vuw.ac.nz>, who suggested using delay(); Martin Maechler <maechler at stat.math.ethz.ch>, Thomas Lumley <tlumley at u.washington.edu>, Brian D. Ripley <ripley at stats.ox.ac.uk>, and Peter Dalgaard <p.dalgaard at biostat.ku.dk>, who helped me with...
2000 Mar 16
2
R-1.0.0 on alpha/osf1 memory glitch (PR#490)
...ffect does not issue any error messages: echo 'x <- 1; save(list = ls(), file = ".RData")' | R --no-save I can't find any record of the configure summary output (is it saved anywhere, or does it only appear on the screen?) but I could reproduce this if necessary. Ray Brownrigg -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-devel-request@stat....
2002 Sep 16
1
Running Median and Mean
R gurus, On Aug 20, 2002, I asked in R-help about calculating a running 5-day median on a large matrix. Thanks to Martin Maechler <maechler@stat.math.ethz.ch> and Ray Brownrigg <Ray.Brownrigg@mcs.vuw.ac.nz> for responding. I ended up writing C code (and an R interface) to do it, which is about 1000x faster than the naive method! (72s became .09s on a 223 x 520 matrix). I added a running mean function too, which is very simple and is about 15x faster than apply(.....
2003 Nov 20
3
file not found?
Hi R maintainers: when I use update.packages() And I try to update the package "maps" maps : Version 2.0-9 in D:/rw1080/library Version 2.0-10 on CRAN Update (y/N)? y The following message appears: trying URL `http://cran.r-project.org/bin/windows/contrib/1.8/maps_2.0-10.zip' Error in download.file(url, destfile, method, mode = "wb") : cannot open URL
2006 Mar 08
3
bug in map('world') ?
hi, did'nt see anything in the archive: map('world',pro='rectangular',para=0) yields a strange artifact (horizontal bar) extending over the whole map at a certain latitude range (approx 65 deg. north), whereas map('world',pro='rectangular',para=180) (which should be the same) does not show the artifact. the artifact shows up in other projections as well,
2008 Aug 19
1
RNGkind() state (PR#12567)
...gt; ?R R version 2.7.1 (2008-06-23) : etc [Previously saved workspace restored] > RNGkind()?????????????# and wrongly reported! [1] "Mersenne-Twister" "Inversion" > runif(1)??????????????????????# Note this is actually using Marsaglia-Multicarry [1] 0.006153224 > Ray Brownrigg Mathematics, Statistics and Computer Science Victoria University of Wellington Wellington, NZ
2004 Nov 19
4
3d Map with bars
Apologies in advance for the question. I am trying to draw a map of the US as a surface plot so that I would be able to drop bars on the different states (something like Uwe Ligges' scatterplot3d example 4). I am not sure where to start looking for such a beast. If anyone has any pointers, ideas, I will be grateful. TIA, Partha
2004 Mar 21
4
writing text on graphics' window
Hi, Does anyone know of a method for writing text to the graphics window, where there is *no* plot? Basically, I have developed a 'significance test' and I would like the output on the graphics window to say something about the input parameters and the stats of the significance test. Any help would be appreciated. Cheers, Sam.