[R] scatter.smooth() line colour

2012-06-22 Thread r-help . 20 . trevva
Hi, I really like the scatter.smooth() function - its extremeley useful. However, as far as I understand it, there is no way to change the properties of the smoothing line e.g. col, lty, lwd. The scatter.smooth function accepts a ... argument, but these are not passed to the plotting function that

Re: [R] MGCV: Use of irls.reg option

2012-06-22 Thread r-help . 20 . trevva
e-effects problem? Mark Hi Mark, irls.reg is kind of `legacy code'. Does model fitting actually fail for your example, or is it just that the estimated spatial smooth looks unpleasant? best, Simon On 06/21/2012 01:28 AM, r-help.20.trevva at spamgourmet.com wrote: > Hi, > > In the

[R] MGCV: Use of irls.reg option

2012-06-20 Thread r-help . 20 . trevva
Hi, In the help files in the  mgcv package for the gam.control() function, there is an option irls.reg. The help files describe this option as: For most models this should be 0. The iteratively re-weighted least squares method by which GAMs are fitted can fail to converge in some circumstances. F

Re: [R] Manually modifying an hclust dendrogram to remove singletons

2012-05-25 Thread r-help . 20 . trevva
Hi all, Thanks for the replies - they have helped shaped my thinking and are starting to push me in a better direction. Maybe I should explain a little more about what I'm trying to achieve. I am analysing satellite data across the global ocean, and am interested in trying to classify areas of th

[R] Manually modifying an hclust dendrogram to remove singletons

2012-05-24 Thread r-help . 20 . trevva
Dear R-Help, I have a clustering problem with hclust that I hope someone can help me with. Consider the classic hclust example: hc <- hclust(dist(USArrests), "ave") plot(hc) I would like to cut the tree up in such a way so as to avoid small clusters, so that we get a minimum number of

[R] Package install error: _intel_fast_memcpy

2010-12-07 Thread r-help . 20 . trevva
Hi, I am trying to install the "ncdf" package on my Ubuntu 8.04 (Karmic) box in the basement. I have installed the most recent distribution of R, 2.12.0 without too many problems. However, when it comes to install the "ncdf" netcdf package, I unfortunately get the following error: Error in dyn.lo

[R] Lattice and high-resolution tiffs

2009-06-29 Thread r-help . 20 . trevva
Hi, I am trying to produce high-resolution (600dpi+) TIFF figures for use in a publication. Everything seems to work well when using the "normal" R-graphics and the relative text size obtained is independent of the output resolution. However, when I try and make lattice plots, the relative size of

[R] Titles on lattice colorkey

2009-04-03 Thread r-help . 20 . trevva
Dear R-ers, I'm not sure if this is a missing feature, a support request, or stupidity on my part, but nevertheless, its a question. Is it possible to add titles to colorkey legends? As far as I can tell, there is a command to do it for normal "key" legends, but not for "colorkeys". eg it work

[R] Custom colourkey spacing in levelplot, contourplot

2007-10-23 Thread r-help . 20 . trevva
Dear R gurus, I have got stuck on how to customise the colorkey generated by levelplot and contourplot, in the lattice package. This best illustrated by an example: library(lattice) levelplot(volcano^20/1e45,at=c(0,0.001,0.01,0.1,1,10)) The reason for raising the volcano dataset to the 20th powe