[R] What is the equivalent of column.prods() from S in R?

David Winsemius dwinsemius at comcast.net
Sun Nov 29 06:00:58 CET 2009


On Nov 28, 2009, at 11:28 PM, Peng Yu wrote:

> On Mon, Nov 9, 2009 at 8:35 PM, David Winsemius <dwinsemius at 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?

Page numbers? Specifics? ....something to go on?

>
> ______________________________________________
> R-help at 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.

David Winsemius, MD
Heritage Laboratories
West Hartford, CT




More information about the R-help mailing list