Re: [R] Suppressing error messages in a for loop

2008-10-16 Thread jim holtman
?try On Thu, Oct 16, 2008 at 4:46 PM, hgreatrex <[EMAIL PROTECTED]> wrote: > > Hi, > > Is there any way that I can supress error messages so that they don't stop > for loops running? > > I'm using the gstat package and have created a variogram model for the > double exponential model: > >"dexp

[R] padding "bug" in lattice/levelplot

2008-10-16 Thread Paul Boutros
Hello, I have encountered some unexpected behaviour with levelplot that may simply be a misunderstanding on my part. If I create a levelplot from a matrix with named columns, some "padding" space appears at the top and bottom of the heatmap. Here is an example, and I've used panel.fill t

Re: [R] padding "bug" in lattice/levelplot

2008-10-16 Thread Deepayan Sarkar
On 10/16/08, Paul Boutros <[EMAIL PROTECTED]> wrote: > Hello, > > I have encountered some unexpected behaviour with levelplot that may simply > be a misunderstanding on my part. > > If I create a levelplot from a matrix with named columns, some "padding" > space appears at the top and bottom of t

Re: [R] Saving results of Kruskal Walis test

2008-10-16 Thread Bernardo Rangel Tura
Em Qui, 2008-10-16 às 22:31 +0200, Himanshu Ardawatia escreveu: > Hello, > > I am running Kruskal-Walis test in R. When I try to save results using > write.table it gives me the following error : > > Error in as.data.frame.default(x[[i]], optional = TRUE, stringsAsFactors = > stringsAsFactors) :

Re: [R] Saving results of Kruskal Walis test

2008-10-16 Thread Jorge Ivan Velez
Dear Himanshu, Try ?sink() : data_file.out <- krukal.test(data_file) sink("~/DATA/results/data_file_out.txt") data_file.out sink() HTH, Jorge On Thu, Oct 16, 2008 at 4:31 PM, Himanshu Ardawatia <[EMAIL PROTECTED]>wrote: > Hello, > > I am running Kruskal-Walis test in R. When I try to save r

[R] R plot

2008-10-16 Thread Haoda Fu
All - When I plot something like a<-rnorm(5) b<-rnorm(5) plot(a,b,col = "red") points(10,-10) The last point is missing because it is out of range of the first plot. I just try to switch from Matlab to R. In Matlab, it always can automatic adjust the xlim and ylim for such case. Is it possi

Re: [R] histogram without bars but with density line - frequency-lines?

2008-10-16 Thread Yihui Xie
Bars are corresponding to bins, and the bin-width for lines is 0; please tell me what is the "frequency" at a fixed point (rather than over an interval)? Regards, Yihui -- Yihui Xie <[EMAIL PROTECTED]> Phone: +86-(0)10-82509086 Fax: +86-(0)10-82509086 Mobile: +86-15810805877 Homepage: http://www.y

Re: [R] Lattice key title color and trellis par settings

2008-10-16 Thread Meesters, Erik
Thank you all! This is a great course on Lattice par settings (though not answering the question)! And a truly must have: Lattice: Multivariate Data Visualization with R (Use R). Thank you Dr. Sarkar! Here's it all summed up. #Looking at lattice par settings: library(lattice) str(trellis.par.get

<    1   2