Hi,
This is a beginner R question.
I have a 4x4 matrix named 'lookup' with the following values:
1 2 3 4
1 0.00 2.828427 5.656854 8.485281
2 2.828427 0.00 2.828427 5.656854
3 5.656854 2.828427 0.00 2.828427
4 8.485281 5.656854 2.828427
peter leonard wrote:
Hi,
This is a beginner R question.
I have a 4x4 matrix named 'lookup' with the following values:
1 2 3 4
1 0.00 2.828427 5.656854 8.485281
2 2.828427 0.00 2.828427 5.656854
3 5.656854 2.828427 0.00 2.828427
4 8.485281
That worked perfect. Thanks for the fast response.
Peter Leonard
From: Uwe Ligges [EMAIL PROTECTED]
To: peter leonard [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Subject: Re: [R] function to populate a matrix based on a lookup to another
matrix ?
Date: Sat, 31 May 2003 17:58:27 +0200
peter