Re: [R] Stepwise regression scope: all interacting terms (.^2)

2012-11-19 Thread Mark Ebbert
, at 12:16 PM, Mark Ebbert wrote: I haven't heard anything on this question. Is there something fundamentally wrong with my question? Any feedback is appreciated. Perhaps failure to read this sig at the bottom of every posted message to rhelp? PLEASE do read the posting guide http

Re: [R] Stepwise regression scope: all interacting terms (.^2)

2012-11-16 Thread Mark Ebbert
I haven't heard anything on this question. Is there something fundamentally wrong with my question? Any feedback is appreciated. Mark On Nov 15, 2012, at 8:13 AM, Mark T. W. Ebbert wrote: Dear Gurus, Thank you in advance for your assistance. I'm trying to understand scope better when

[R] Stepwise regression scope: all interacting terms (.^2)

2012-11-15 Thread Mark Ebbert
Dear Gurus, Thank you in advance for your assistance. I'm trying to understand scope better when performing stepwise regression using step. I have a model with a binary response variable and 10 predictor variables. When I perform stepwise regression I define scope=.^2 to allow interactions

[R] Read in cluster files (cdt, atr, gtr)

2011-10-12 Thread Mark Ebbert
Does anyone know if there is a method available to read in cluster files (cdt, atr and gtr)? I found one method (http://bioinformatics.holstegelab.nl/manuals/R/library/integromicsMethods/html/iMethods.read.tv.html), but it doesn't seem to create an object that can be used by heatmap. The

Re: [R] write.matrix row names vs sink vs capture.output

2011-09-19 Thread Mark Ebbert
. regards, Paul On 09/06/2011 02:58 PM, Mark Ebbert wrote: Thank you for your help. The data is meant to be processed by a separate program that expects a simple matrix with row and column names in ascii format. write.matrix does exactly what I want except for the row names. It baffles

Re: [R] write.matrix row names vs sink vs capture.output

2011-09-19 Thread Mark Ebbert
statement in the while loop of write.matrix could be changed to include a row name. To get he source code of write.matrix: library(MASS) write.matrix # without the ()!! hope this helps more than my previous (useless) comment, Paul On 09/19/2011 02:37 PM, Mark Ebbert wrote: I'm afraid I

[R] write.matrix row names vs sink vs capture.output

2011-09-06 Thread Mark Ebbert
Dear R gurus, I am trying to write several large matrices (~ 1GB) to separate files. I have learned that write.table is simply too slow for this task and was attempting to use write.matrix, but write.matrix does not have the ability to include row names in the output. Anyone know why that's

Re: [R] write.matrix row names vs sink vs capture.output

2011-09-06 Thread Mark Ebbert
Hiemstra wrote: On 09/06/2011 06:24 AM, Mark Ebbert wrote: Dear R gurus, I am trying to write several large matrices (~ 1GB) to separate files. I have learned that write.table is simply too slow for this task and was attempting to use write.matrix, but write.matrix does not have the ability

Re: [R] Convert List of Data.Frames to Data.Frame when List has NULL

2011-08-31 Thread Mark Ebbert
Yeah, I never would have come up with that one. Thanks! On Aug 31, 2011, at 2:18 PM, Jorge I Velez wrote: Hi Mark, Try do.call(rbind, tmp[!sapply(tmp, is.null)]) HTH, Jorge On Wed, Aug 31, 2011 at 4:02 PM, Mark Ebbert wrote: Dear R gurus, I trying to convert a list of data frames to one

[R] source() or OS X Lion?

2011-08-04 Thread Mark Ebbert
Dear R Gurus, I'm seeing some strange behavior that I can't explain. I'm generating a figure for a paper and I like to save the script (no matter how simple) for future reference. My practice is to write the script and run it using the 'source()' function. What's weird is that the resultant

Re: [R] source() or OS X Lion?

2011-08-04 Thread Mark Ebbert
Hoban. :-) R. T. On 05/08/11 09:24, Mark Ebbert wrote: Dear R Gurus, I'm seeing some strange behavior that I can't explain. I'm generating a figure for a paper and I like to save the script (no matter how simple) for future reference. My practice is to write the script and run

Re: [R] panel.loess confidence interval

2011-06-14 Thread Mark Ebbert
I finally got back around to working on this again. panel.smoother worked perfectly. Thank you both for the tips. On Jun 5, 2011, at 5:40 PM, Felix Andrews wrote: On 6 June 2011 06:45, Gabor Grothendieck ggrothendi...@gmail.com wrote: On Sun, Jun 5, 2011 at 3:18 PM, Mark Ebbert mark.ebb

[R] panel.loess confidence interval

2011-06-05 Thread Mark Ebbert
Dear R gurus, Based on my searches I think I know the answer to this question, but I'd like to pose it to you. Is there an easy way to plot the confidence interval around a loess line using lattice? The only thing I've found is ggplot, but I prefer to stick with lattice out of preference.

[R] 'apply' with additional class variable

2011-05-21 Thread Mark Ebbert
Dear R gurus, I'm trying to solve what I assume is a fairly simple problem, but I'm having trouble finding the proper approach. I have a matrix where each column is some object (e.g. a car) and each row is a numeric measurement of a feature of said object (e.g. horse power, top speed, etc.).

Re: [R] 'apply' with additional class variable

2011-05-21 Thread Mark Ebbert
, May 21, 2011 at 11:23 AM, Mark Ebbert mark.ebb...@hci.utah.edu wrote: Dear R gurus, I'm trying to solve what I assume is a fairly simple problem, but I'm having trouble finding the proper approach. I have a matrix where each column is some object (e.g. a car) and each row is a numeric

[R] Class noquote to matrix

2011-03-30 Thread Mark Ebbert
Hi, I apologize if the solution is right in front of me, but I can't find anything on how to convert a class of 'noquote' to 'matrix'. I've tried as.matrix and I've tried coercing it by 'class(x)-matrix', but of course that didn't work. I've been using the function 'symnum' which returns an

Re: [R] Class noquote to matrix

2011-03-30 Thread Mark Ebbert
I knew there had to be a simple solution. Thank you! On Mar 30, 2011, at 3:04 AM, Peter Ehlers wrote: On 2011-03-29 19:12, Mark Ebbert wrote: Hi, I apologize if the solution is right in front of me, but I can't find anything on how to convert a class of 'noquote' to 'matrix'. I've tried

Re: [R] Font family not found in Windows font database

2010-12-01 Thread Mark Ebbert
That did it. Thanks! On Dec 1, 2010, at 12:38 PM, Paul Murrell wrote: Hi On 2/12/2010 4:55 a.m., Mark Ebbert wrote: Dear R Gurus, I have a fairly simple problem, but I haven't been able to find the answer on 'the google' or in the r-help archives. I am generating plots on both

Re: [R] aggregate, by, *apply

2010-09-16 Thread Mark Ebbert
just as you have. then: require(plyr) res - daply(tmp, .(z), summarise, res=func(x,y)) I believe this does the trick Abhijit On 9/15/10 5:45 PM, Mark Ebbert wrote: Dear R gurus, I regularly come across a situation where I would like to apply a function to a subset of data

[R] aggregate, by, *apply

2010-09-15 Thread Mark Ebbert
Dear R gurus, I regularly come across a situation where I would like to apply a function to a subset of data in a dataframe, but I have not found an R function to facilitate exactly what I need. More specifically, I'd like my function to have a context of where the data it's analyzing came

[R] Lattice Panel Print Order

2010-07-21 Thread Mark Ebbert
Hi, I have done a bit of searching and have not found a good answer for my question. Although I have not difficulty ordering the panels, Lattice prints them from bottom to top and left to right for each page. Is it possible to make it print from top to bottom for each page? I've tinkered with

Re: [R] Lattice Panel Print Order

2010-07-21 Thread Mark Ebbert
For pete's sake! That's just embarrassing. I don't know how I missed that. Thanks for your help Deepayan. I would also like to say thank you for supporting Lattice so well. On Jul 21, 2010, at 2:39 AM, Deepayan Sarkar wrote: On Wed, Jul 21, 2010 at 12:13 AM, Mark Ebbert mark.ebb

[R] vi readline key bindings -- some work, some don't

2010-06-30 Thread Mark Ebbert
Dear R Gurus, I have spent some time in the R mail archive and only found one thread that mentions key binding (http://tolstoy.newcastle.edu.au/R/help/06/03/22481.html). I use R (2.9.2) from the command line using OS X's (10.6.4) Terminal.app. I have spent a fair amount of time trying to

Re: [R] tapply help

2010-06-06 Thread Mark Ebbert
54.54545 55.6 On Fri, Jun 4, 2010 at 4:02 PM, Mark Ebbert mark.ebb...@hci.utah.edu wrote: Dear R gurus, I am trying perform what I believe will be a pretty simple task, but I'm struggling to figure out how to do it. I have two vectors of the same length, the first is numeric

[R] tapply help

2010-06-04 Thread Mark Ebbert
Dear R gurus, I am trying perform what I believe will be a pretty simple task, but I'm struggling to figure out how to do it. I have two vectors of the same length, the first is numeric and the second is factor. I understand that tapply is perfect for applying a function to the numeric vector