useRs,
Using a code suggestion from the previous post in this thread (quoted
next), I was able to work through a smaller example problem and get some
results I was aiming for.
>That might not construct the bands in the blocks correctly: This might
>be better:
>
>MAT [ kronecker( matrix(1, 4,4), a
On Jan 23, 2013, at 5:31 PM, David Winsemius wrote:
On Jan 23, 2013, at 7:13 AM, emorway wrote:
The following 1460 x 1460 matrix can be throught of as 16 distinct
365 x 365
matrices. I'm trying to set off-diaganol terms in the 16 sub-
matrices with
indices more than +/- 5 (days) from each
On 24-01-2013, at 01:58, emorway wrote:
> I'm not following. Printing SEQ to the screen at the intermediate steps
> using the following modified R code suggests that 'i' is fine and is not
> getting reset to 1 as you suggest?
You misread. I did not say anything about 'i'.
> My understanding,
737 738 739 740 741
# [1] 727 728 729 730 731 732 733 734 735 736 737
#[1] 731 732 733 734 735 736 737
#[1] 738 739 740 741
A.K.
- Original Message -
From: emorway
To: r-help@r-project.org
Cc:
Sent: Wednesday, January 23, 2013 7:58 PM
Subject: Re: [R] setting off-diagonals to zero
> -Original Message-
> From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org]
> On Behalf Of emorway
> Sent: Wednesday, January 23, 2013 4:59 PM
> To: r-help@r-project.org
> Subject: Re: [R] setting off-diagonals to zero
>
> I'm not following
On Jan 23, 2013, at 7:13 AM, emorway wrote:
> The following 1460 x 1460 matrix can be throught of as 16 distinct 365 x 365
> matrices. I'm trying to set off-diaganol terms in the 16 sub-matrices with
> indices more than +/- 5 (days) from each other to zero using some for loops.
> This works wel
I'm not following. Printing SEQ to the screen at the intermediate steps
using the following modified R code suggests that 'i' is fine and is not
getting reset to 1 as you suggest? My understanding, or rather my desired
output if someone else is able to weight-in, is that the values in the
second
On 23-01-2013, at 16:13, emorway wrote:
> The following 1460 x 1460 matrix can be throught of as 16 distinct 365 x 365
> matrices. I'm trying to set off-diaganol terms in the 16 sub-matrices with
> indices more than +/- 5 (days) from each other to zero using some for loops.
> This works well f
The following 1460 x 1460 matrix can be throught of as 16 distinct 365 x 365
matrices. I'm trying to set off-diaganol terms in the 16 sub-matrices with
indices more than +/- 5 (days) from each other to zero using some for loops.
This works well for some, but not all, of the for loops. The R code
9 matches
Mail list logo