On Mon, Nov 9, 2009 at 8:35 PM, David Winsemius <dwinsem...@comcast.net> wrote: > > On Nov 9, 2009, at 8:43 PM, Peng Yu wrote: > >> Chambers' book Statistical Models in S mentioned 'column.prods()'. But >> I don't find it in R. I'm wondering if there is an equivalent in R? > > ??rowProds > ??colProds > > (They are in both fUtilities and timeSeries.)
Are you sure that colProds() is equivalent to column.prods()? It seems that column.prods() should be a very basic function in S, but I have to load a package in order to call colProds(). I don't see how to construct a matrix give terms as mentioned in the book. Would you please give me some examples? ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.