Hello to all -- My apologies for what I know to be an elementary question, but cannot seem to find the answer to. I would like to extract the row name of a matrix where the third column has it's maxi
Thanks to Sundar Dorai-Raj and Eric Zivot for suggesting the use of which(), with which I have no previous experience. A good thing to know! Thanks again, Sarah You want something that returns the in
Hello to all -- This may be a simple problem but I (as a relatively novice user) cannot make headway without some help. I have received several data sets with a character date/time stamp in the forma
Hello again (busy day) -- Thanks to all who replied to my earlier inquiry about timeDate! I now wish to plot wind speed and direction against the time variable in a variable Y panel plot (as shown in
Hello to all and, once again, my apologies for what is probably a very novice question. I have a folder full of 300 .xls files that I need to import into S-Plus. All files have the same name structur
Thanks to all who replied! The problem has been solved and I can see how the responses are going to be very valuable in my future work with these data. A summary is found below: _____________________
Now that Monday has rolled around I am trying to combine all the victories of last week. I have successfully imported my 300+ .xls files into S-Plus data frames, all of which have names of the form '
Thanks again to the s-news group this problem has been solved. The following did the trick: all.dates <- function(id){ frame.name <- paste("station", id, sep="") temp.frame <- get(frame.name, where=1
Hi all -- I'm sure this is a simple question with a simple answer, but I can't find anything in the language guide about it (I'm probably looking in the wrong places...) Is there some trick I can use
Peter Alspach, Simon Rosenfeld and Christos Hatzis have all offered variations on the following theme: my.data.frame[,ncol(my.data.frame)] <- new.vector Thanks everyone! Sarah
Hello all -- Does anyone know if/how it's possible to fill multiple inserted columns with different expressions? Thanks! Sarah ______________________________________________ Sarah Henderson Departmen
Hello to all -- My apologies for not providing a complete example. This is what I am trying to do: my.data.frame <- insert.col(my.data.frame, "@END", 10, fill.expression=???) Where I have a different
Hello S users -- I have a dataframe named (DATA.FRAME) with 70 observations and 92 sets of 5 columns. The name for each column includes an ID number (ID) to identify which set it belongs to. I have w
Many thanks to Michael for such a detailed and helpful reply. I had the wrong impression of get() and I now know that it makes a temporary attachment. In the end I went with suggestion #1, which work
Hello to all -- I have data for 300000 road segments reflecting approximately 60000 unique street names. I would like to create a new data frame with the unique street names and their first-occurrenc