R and S-PLUS handle terms very differently. If this were a formula, terms would dispatch to term.formula, so presumably it is not. Do you need an as.formula() call?
On Thu, 6 Mar 2003, Daniel A. Powers wrote: > I am working with some SPlus code and get the following error > > Error in terms.default(formula, data = data) : > no terms component > > Can someone point me to a fix? The pasted formula looks ok > when printed during the procedure. You need to read carefully how terms() works in R, from the help page and from examples in the sources. -- Brian D. Ripley, [EMAIL PROTECTED] Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595 ______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help