Re: [R] [plyr] Moving average filter with plyr

2013-08-27 Thread Ingo Reinhold
Thank you very much. But why is this? The function applyfilter should return a numeric result, shouldn't it? Best regards, Ingo From: arun [smartpink...@yahoo.com] Sent: Tuesday, August 27, 2013 4:06 PM To: Ingo Reinhold Cc: R help Subject: R

[R] [plyr] Moving average filter with plyr

2013-08-27 Thread Ingo Reinhold
Dear all, I'm stuck with a problem using plyr to process a rather large junk of data. What I'm trying to do is applying a moving average to all the subparts of the dataframe (the example data can be found here https://dl.dropboxusercontent.com/u/2414056/testData.Rdata). require(plyr) load("te

Re: [R] Interpreting lmp() results

2013-08-20 Thread Ann Marie Reinhold
ot reconcile the differences in these results. Any help would be appreciated. Thanks! AM Ann Marie Reinhold | Doctoral Candidate Montana Cooperative Fishery Research Unit Department of Ecology | Montana State University Box 173460 | Bozeman, MT 59717 Email: reinhold [AT] montana [DOT] edu | Offi

[R] Interpreting lmp() results

2013-08-19 Thread Ann Marie Reinhold
lish_United States.1252 [3] LC_MONETARY=English_United States.1252 LC_NUMERIC=C [5] LC_TIME=English_United States.1252 attached base packages: [1] stats graphics grDevices utils datasets methods base other attached packages: [1] lattice_0.20-15 lmPerm_1.1-2 loaded via a namespace (and not

[R] Generating 1-bit and 8-bit BMP files using R

2013-03-04 Thread Ingo Reinhold
Hi, I'm trying to use the data which I generate within R to make images in .bmp format to be lateron printed by a printer. My first thought was the RImageJ package, but this seems to be discontinued. What I am currently doing is generating a matrix of grey values, which needs to be parsed into

Re: [R] Outer product from matrix by row and a vector

2012-08-09 Thread Ingo Reinhold
Hi David, Petr, sorry for the fuzzy posts. I oversaw that it was just the transposed version as you indicate. Does exactly what it should. Many thanks, Ingo __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do

Re: [R] Outer product from matrix by row and a vector

2012-08-07 Thread Ingo Reinhold
} } giving the result [,1] [,2] [,3] [1,]135 [2,]246 Thanks for taking a look. Cheers, Ingo From: Jeff Newmiller [jdnew...@dcn.davis.ca.us] Sent: Wednesday, August 08, 2012 6:40 AM To: Ingo Reinhold; r-help@r-projec

[R] Outer product from matrix by row and a vector

2012-08-07 Thread Ingo Reinhold
Dear all, I am facing a challenge when applying the outer product with a matrix by rows. What I have is a rather big matrix, which I would like to convert into a different matrix by doing something like outer(matrix_row, vector, function(x,y) x[1]+5*x[4]/y) In order to get there, I tried to ge

Re: [R] eRm/raschsampler error message

2011-08-27 Thread reinhold
Hi, this error message is due to a bug in RaschSampler. I corrected it and sent it to CRAN. RaschSampler version 0.8-5 should be available from there soon. Thanks for the hint and please apologize for any inconveniences. Reinhold -- View this message in context: http://r.789695.n4.nabble.com

[R] Multidimensional List access

2011-05-18 Thread Ingo Reinhold
Dear all, I have data organized in a way like this Data[[CharacteristicsList1]][[CharacteristicsList2]][[CharacteristicsList3]][[CharacteristicsList4]] where CharacteristicsList4 there is a DF stored with various columns of name V1,V2, ... , Vn Is there an easy way to get a vector of all the

Re: [R] Variable length datafile import problem

2011-02-18 Thread Ingo Reinhold
hat's it. Many thanks again for the effort. Ingo From: John Kane [jrkrid...@yahoo.ca] Sent: Thursday, February 17, 2011 11:54 AM To: Ingo Reinhold Subject: RE: [R] Variable length datafile import problem Generally most of the gurus are in this list. Ho

[R] Variable length datafile import problem

2011-02-15 Thread Ingo Reinhold
Dear all, I am stuck the reading of a file which has 100s of rows and variable column counts. The tab-limited data file looks something like: Some_Text 131231534-1191010178 Some_Taxt 131331434-2191010178 Some_Tsxt 132441334