Skip to content
Back to formatted view

Raw Message

Message-ID: <82FF6F70-3E6A-4EA9-9652-62239497CE17@comcast.net>
Date: 2009-11-29T05:00:58Z
From: David Winsemius
Subject: What is the equivalent of column.prods() from S in R?
In-Reply-To: <366c6f340911282028q6c4cde26he3e23caa671364a7@mail.gmail.com>

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