Re: [R] Basic Question on Keys/Values

2008-06-09 Thread Dumblauskas, Jerry
ailto:[EMAIL PROTECTED] On Behalf Of Douglas Bates Sent: Monday, June 09, 2008 1:08 PM To: Dumblauskas, Jerry Cc: r-help@r-project.org Subject: Re: [R] Basic Question on Keys/Values On Mon, Jun 9, 2008 at 12:55 PM, Dumblauskas, Jerry <[EMAIL PROTECTED]> wrote: > As a java programmer, I&

Re: [R] Basic Question on Keys/Values

2008-06-09 Thread Douglas Bates
umblauskas, Jerry > Cc: r-help@r-project.org > Subject: Re: [R] Basic Question on Keys/Values > > On Mon, Jun 9, 2008 at 12:55 PM, Dumblauskas, Jerry > <[EMAIL PROTECTED]> wrote: >> As a java programmer, I'm having issue conceptualizing the following >> use

Re: [R] Basic Question on Keys/Values

2008-06-09 Thread Douglas Bates
On Mon, Jun 9, 2008 at 12:55 PM, Dumblauskas, Jerry <[EMAIL PROTECTED]> wrote: > As a java programmer, I'm having issue conceptualizing the following use > case: > Given an value, passed into a function, how do I pull out the lookup? > Ie. > A list of keys (key1, key2, key3) > A list of values (v

[R] Basic Question on Keys/Values

2008-06-09 Thread Dumblauskas, Jerry
As a java programmer, I'm having issue conceptualizing the following use case: Given an value, passed into a function, how do I pull out the lookup? Ie. A list of keys (key1, key2, key3) A list of values (val1,val2,val3) I want to write a function (or is there something built in?) such that Cal