search for: mikewolfgang

Displaying 7 results from an estimated 7 matches for "mikewolfgang".

2006 Jun 29
4
re-direct to "more" or "less"
Dear list, sometimes my function generates too much data and shows them on screen, i cannot view first several lines until program ends and I have to scroll my mouse up to get them. Is there any re-direction function in R to pipeline outputs to "more" or "less" type functions? Thanks mike [[alternative HTML version deleted]]
2006 Apr 11
2
variable selection when categorical variables are available
Dear All, Probably it is not highly relevant question: Why do stepwise regression functions in R (step() or stepAIC()) add/delete categorical variables as a set? For example, I have a four-level factor variable d, so dummies are d1,d2,d3, as stepwise regression operates d, adding or removing, d1,d2,d3 are simultaneously added/removed. What's the concern here if operating dummies individually?
2006 Jun 16
0
how to setup parallel environment?
Dear list, My institution has a Beowulf Linux cluster with 128 nodes. I want to set up a parallel environment for R so that I can run some easily parallelizable jobs. I searched around and only found some packages (like snow, rpvm) with tutorials on how to run R functions in a already-setup parallel environment. But did not have success finding tutorials on how to setup parallel R. Should I
2006 Aug 18
2
apply least angle regression to generalized linear models
Hello list, I've been searching around trying to find whether somebody has written such a package of least angle regression on generalized linear models, like what Lasso2 package does. The extension to generalized linear models is briefly discussed in the comment by D. Madigan and G. Ridgeway. Is such a package available? Thanks, Mike [[alternative HTML version deleted]]
2006 Oct 09
2
lines at margin?
Hi list, I want to add some lines at margin area of one figure. mtext could add text to these margins, can I add lines with different lty parameters? Thanks, mike [[alternative HTML version deleted]]
2006 Aug 23
1
glm inside one self-defined function
Hi list, I've searched in R-help and found some related discussions but still could not understand this type of error. My own function is pretty complex, so I would not put it here, but the basic algorithm is like this: myfun<-function(k){ mydata<-...#by someway I create a data frame mymodel<-glm(y~.,family=binomial(),data=mydata) ...#some other stuff } as I execute this
2006 Sep 22
3
extract data from lm object and then use again?
Hi list, I want to write a general function so that it would take an lm object, extract its data element, then use the data at another R function (eg, glm). I searched R-help list, and found this would do the trick of the first part: a.lm$call$data this would return a name object but could not be recognized as a data.frameby glm. I also tried call(as.character(a.lm$call$data)) or