search for: svempa

Displaying 4 results from an estimated 4 matches for "svempa".

Did you mean: krempa
2007 Dec 06
7
Fitting large titles in a plot
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 half of it.") Any suggestions? Shouldn't be that hard. -- View this message in
2007 Oct 11
2
Operating matrix positions
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 (of list 2)', and so on, continuing to the next matrix as soon as the current one is
2007 Oct 13
1
Controlling values in read.table
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 better to tamper with 'list1' when it's done? -- View this message in
2007 Oct 15
1
The "condition has length > 1" issue for lists
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 in 1:length(list1)) if (list1[[i]] & list2[[i]] >1)