Skip to content

Search Archives

Search tips
from:Name Search by author name, e.g. from:Duncan Murdoch "exact phrase" Match an exact phrase word1 word2 Match messages containing both words Date range Use the date pickers to filter results to a time period

Use the list dropdown to narrow results to a specific mailing list. Combine from: with other terms to filter by author and content.

9 results for “from:Kevin Murphy”

style question: returning multiple arguments - structure or list
Kevin Murphy · Jul 27, 2001 · r-help

I have a question about what is considered good style in R. I have a function which returns several arguments, say [x,y,z]=f(), where sometimes I only care about the first few (so in Matlab, I can write...

variable number of variables in data frames
Kevin Murphy · Jul 16, 2001 · r-help

I would like to specify that certain columns in a data frame should be treated as ordered factors. I know what numbers these columns are, but not their names. How do I do this? For example, if I know columns...

installing tree pkg on linux
Kevin Murphy · Jul 6, 2001 · r-help

I am having trouble installing the tree package on linux. I followed all the steps in section 5.2 of the FAQ http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html#How%20can%20add-on%20packages%20be%20installed...

bug in residuals.rpart?
Kevin Murphy · Jul 23, 2001 · r-help

The following code tr <- rpart(Y ~ ., dat, method="class") dev <- residuals(tr, "deviance") produces the following error Error in log(x) : Non-numeric argument to mathematical function > .Traceback [[1]] [1] "log(yhat)" # line 588 of rpart [[2]] [1] "switch(type...

style question: returning multiple arguments - structure orlist
Kevin Murphy · Jul 29, 2001 · r-help

Re: teaching computer science - I'm surprised nobody has recommended using the classic "Structure and Interpretation of Computer Programs", by Abelson, Sussman, and Sussman (1984/1996) (http://mitpress.mit.edu/sicp/sicp.html), especially since R is so closely modelled...

mapping functions down trees/ AIC for trees
Kevin Murphy · Jul 24, 2001 · r-help

Has anyone implemented AIC for trees? I realise that the tree growing procedure does variable selection automatically - my goal is to learn belief net structure where the local conditional probability distributions (CPDs) are represented by trees (as in e.g...

frames and formulas
Kevin Murphy · Jul 19, 2001 · r-help

I can build a tree at the command line using tr <- tree(V4 ~ ., dat) but I don't know how to build one inside a function - the following does not work foo <- function(dummy) { tr <- tree(V4 ~ ., dummy) } tr2 <- foo...

speeding up aperm/ adding repmat
Kevin Murphy · Jul 10, 2001 · r-help

Hi, I have noticed that aperm is very slow, and I wondered if there was a way of speeding it up. Let me tell you a bit about the context of my problem, because perhaps I shouldn't be using...

ordered factors in tree package - bug?
Kevin Murphy · Jul 13, 2001 · r-help

I am new to R, and didn't know which list to send this to, since it is a bug report about a package, not about core R... I have created a regression tree using 4 predictors: 3 are unordered...

Can't find what you're looking for? Try searching with Google .