Re: [Rd] delete.response leaves response in attribute dataClasses

2012-01-05 Thread William Dunlap
My feeling that everyone would index dataClasses by name was wrong. I looked through the packages that used dataClasses and saw code that would break if the first (response) entry were omitted. (I didn't check to see if passing the output of delete.response to these functions would be appropriate

Re: [Rd] delete.response leaves response in attribute dataClasses

2012-01-05 Thread William Dunlap
I had noticed the same thing but figured that most people (writers of predict methods) would be looking up entries in dataClasses by name and not by position, since predict's newdata argument need not have entries in the same order as the data used to fit the model. Hence the extra entry would not

Re: [Rd] informal conventions/checklist for new predictive modeling packages

2012-01-05 Thread Paul Johnson
I agree with almost all, except the last point. Since I have participated in wheel-reinvention lately, I agree with the bulk of your comment. I don't think the fix is as easy as you suspect, RSiteSearch won't help me find a function I need when I don't know the magic words. Some R functions have s

[Rd] delete.response leaves response in attribute dataClasses

2012-01-05 Thread Paul Johnson
I posted this one as an R bug (https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14767), but Prof. Ripley says I'm premature, and I should raise the question here. Here's the behavior I assert is a bug: The output from delete.response on a terms object alters the formula by removing the depende

Re: [Rd] informal conventions/checklist for new predictive modeling packages

2012-01-05 Thread Steve Lianoglou
Good stuff, Max! Would also be nice to nail your 14 theses to a more permanent wall than the r-help mailing list ... not sure where that would be, though ... isn't someone supposed to be redesigning the r-project.org website? [I jest, I jest] More seriously, though, it might be worth linking to fr

Re: [Rd] informal conventions/checklist for new predictive modeling packages

2012-01-05 Thread Liaw, Andy
From: Max Kuhn > > Working on the caret package has exposed me to the wide variety of > approaches that different authors have taken to creating predictive > modeling functions (aka machine learning)(aka pattern recognition). > > I suspect that many package authors are neophyte R users and are >