Re: [R] Choropleth in R

2011-08-30 Thread Oscar Perpiñan Lamigueiro
You can use spplot from sp. Some examples: http://blog.revolutionanalytics.com/2009/10/geographic-maps-in-r.html http://ryouready.wordpress.com/2009/11/16/infomaps-using-r-visualizing-german-unemployment-rates-by-color-on-a-map/ http://news.mrdwab.com/2010/05/16/choropleth-party-with-r/ Best, Os

[R] [R-pkgs] rasterVis 0.10-3

2011-07-24 Thread Oscar Perpiñan Lamigueiro
Dear useRs, I'd like to announce the release of version 0.10-3 of rasterVis. This package provides a set of methods for enhanced visualization and interaction with the Raster* objects from the raster package. You will find some examples at: http://rastervis.r-forge.r-project.org/. Best, Oscar.

[R] [R-pkgs] pxR 0.20

2011-07-24 Thread Oscar Perpiñan Lamigueiro
Dear useRs, I'd like to announce the release of pxR, a package to use the PC-Axis file format in R. PC-Axis is a software family consisting of a number of programs for the Windows and Internet environment used to present statistical information. It is used by national and international institutio

Re: [R] adding text to spplot

2011-07-13 Thread Oscar Perpiñan Lamigueiro
Hi, help(spplot): The ‘sp.layout’ argument is either a single layout item, or a list with a layout items. A layout item is a list with its first argument the name of the layout function to be called: ‘sp.points’ for SpatialPoints, ‘sp.polygons’ for SpatialPolygons object,

Re: [R] aggregating data

2011-06-30 Thread Oscar Perpiñan Lamigueiro
Hi, You can get it with "by": foo <- function(x)c(length(x$probe), mean(x$exp)) res <- by(df[c('exp', 'probe')], df['gene'], FUN=foo) do.call(rbind, res) Bye, Oscar. -- Oscar Perpiñán Lamigueiro Dpto. Ingeniería Eléctrica EUITI-UPM http://procomun.wordpress.com El Thu, 30 Jun 2011 17:28:02

Re: [R] Adding margin text to lattice graphics

2011-04-11 Thread Oscar Perpiñan Lamigueiro
Hi, You can try the combination of c.trellis and update from the latticeExtra package. For example: p <- xyplot(1~1) update(c(p, p, p, p), xlab='SomeText', ylab='MoreText') update(c(p, p, p, p), xlab=c('SomeText', 'SomeText2'), ylab=c('MoreText', 'MoreText2')) There are lots of examples in h

Re: [R] Time series of spatial data

2011-04-11 Thread Oscar Perpiñan Lamigueiro
Hi, You could try spacetime: http://cran.r-project.org/web/packages/spacetime/ Cheers. Oscar. - Oscar Perpiñán Lamigueiro Dpto. de Ingeniería Eléctrica EUITI-UPM http://procomun.wordpress.com --- En Thu, 7 Apr 2011 03:38:12 -0700 (PDT) idham escr

[R] wavethresh: length must be power of two

2010-03-09 Thread Oscar Perpiñan Lamigueiro
Hello. I am using the 4.2 version of the wavethresh package available from here: http://www.stats.bris.ac.uk/~wavethresh/ trying to follow the book of Nason (http://www.springer.com/978-0-387-75960-9). I am interested in the analysis of several years time series of daily data with wavelets me

[R] [R-pkgs] New solaR package

2010-02-20 Thread Oscar Perpiñan Lamigueiro
Hello. I'd like to announce the availability of version 0.14 of the "solaR" package. It provides a set of calculation methods of solar radiation and performance of photovoltaic systems. The package has been uploaded to CRAN and is now available under the GPL-3 license. Moreover, I have design