[R] T-mode PCA

2008-12-12 Thread Victor Homar
Hi, We are trying to classify atmospheric patterns using PCA and kmeans. In T-mode, the (non-normalized) loadings of the PCs are used as input variables for the k-means classification. As first step we perform PCA using "princomp" but the computed loadings produced by princomp are normalized

Re: [R] Blank certain areas of a contour plot

2008-09-17 Thread Victor Homar
h NA, then filled.contour will not plot in those areas. Hope this helps, -Original Message- From: [EMAIL PROTECTED] [[2]mailto:[EMAIL PROTECTED] project.org] On Behalf Of Victor Homar Sent: Tuesday, September 16, 2008 9:54 AM To: [EMAIL PROTECTED] Subject: [R] Blank certain areas of a contour plot

[R] Blank certain areas of a contour plot

2008-09-16 Thread Victor Homar
Hi, I'm interpolating a list of syncronous accumulated precipitation observations collected over a number of raingauge stations sited over land, over a regular lat/lon grid using akima's interp(). Then, I plot and locate geographycally the resulting field with a filled.contour() and a call t

[R] "Rotated Lat-Lon" projection in mapproj

2008-07-09 Thread Victor Homar
Hi, I'm trying to plot a field obtained from the atmospheric model WRF-NMM which uses a "Rotated Lat-Lon¨ map projection. The WRF documentation mentions that: · Rotates the earth's lat/lon grid such that the intersection of the equator and prime meridian is at the center of the model domain.

[R] Is this sapply behaviour normal?

2008-06-25 Thread Victor Homar
Hi, I'm trying to use sapply to compute the min of several variables, each of them stored in data.frames, grouped as a list: Is it normal that mean() and min() produce different objects dimensions? > str(dats) List of 5 $ log20:'data.frame': 83 obs. of 5 variables: ..$

Re: [R] Histogram inset into another histogram

2008-06-19 Thread Victor Homar
Hi Paul, Thanks for the answer. I temporarily did it with the subplot function from the TeachingDemos package but I like this version much better. Best, Victor. Paul Hiemstra wrote: Victor Homar wrote: Dear R users and helpers, I'm trying to find an example of a histogram plot as an

[R] Histogram inset into another histogram

2008-06-18 Thread Victor Homar
Dear R users and helpers, I'm trying to find an example of a histogram plot as an inset (upper right or left corner) of another histogram. Anyone has an example of that? Thanks for your help, Víctor. -- --- Víctor Homar San