[R] Labeling different kinds of dots

2008-01-25 Thread Svempa
I have one graph with two linear plots, one where the points are marked with a triangle and the others marked with a dot. How do I label them in a legend for example, comparable to what you automatically get in Excel (sorry for the comparison people), so you know which type of point corresponds to

[R] Fitting large titles in a plot

2007-12-06 Thread Svempa
I want to fit a fairly long main title for a plot, supposedly by changing row after a while. As for now it starts way outside the picture margin at the left and continues way out right passed the right margins. >plot(A,main="This is my really long title and it's so long that I can see just about

[R] Non-parametric tolerance limits

2007-11-06 Thread Svempa
Does anyone know if there exists a package for non-parametric tolerance limits in R? Or any other way to do it? -- View this message in context: http://www.nabble.com/Non-parametric-tolerance-limits-tf4750263.html#a13583088 Sent from the R help mailing list archive at Nabble.com. __

[R] The "condition has length > 1" issue for lists

2007-10-15 Thread Svempa
I have the following code: list1 <- list() for (i in list.files(pattern="filename1")){ x <- read.table(i) list1[[i]] <- x } list2 <- list() for (i in list.files(pattern="filename2*")){ x <- read.table(i) list2[[i]] <- x } anslist <- vector('list', length(list1)) for(i i

[R] Controlling values in read.table

2007-10-13 Thread Svempa
I have this code: list1 <- list() for (i in list.files(pattern=".*c02.*AFDH0.*")){ x <- read.table(i,skip=20,fill=TRUE) list1[[i]] <- x } Somehow I would like the read.table function to read only values in each file that are over a certain limit, say >1. Is this the easiest way or is it bet

Re: [R] Operating matrix positions

2007-10-12 Thread Svempa
. Svempa wrote: > > I have two equally long lists of equally large matrices . I now want to > generate a column that consists of the differences between position [i,j] > in matrix k in each list. That is, the first position in this new column > is 'position [1,1] in matrix 1 (of list

[R] Operating matrix positions

2007-10-11 Thread Svempa
I have two equally long lists of equally large matrices . I now want to generate a column that consists of the differences between position [i,j] in matrix k in each list. That is, the first position in this new column is 'position [1,1] in matrix 1 (of list 1)' minus 'position [1,1] in matrix 1 (

Re: [R] File selection by condition

2007-10-02 Thread Svempa
m in a > list > > match.list <- list() > for (i in list.files(pattern="some pattern")){ > x.in <- read.table(i) > if (your match criteria) match.list[[i]] <- x.in > } > > On 9/28/07, Svempa <[EMAIL PROTECTED]> wrote: >> >> I h

[R] File selection by condition

2007-09-28 Thread Svempa
I have a large number of textfiles, and one matix in every texfile. I now want to find an easy way to select those textfiles that contain at least one value over a certain limit, and collect those matrices in a vector or something alike. How do I do that? -- View this message in context: http:/