Quantcast
Channel: Statalist
Viewing all articles
Browse latest Browse all 65044

Is there a way to index a variable based on another variable?

$
0
0
Example:

date_w ap
------------------------------
1. 2012w42 12.99
2. 2012w43 12.31
3. 2012w44 12.14
------------------------------

I would like to refer to ap=12.31 as ap[_2012w43], or something similar. datew has %tw format.
Any ideas?
Thanks in advance!

Viewing all articles
Browse latest Browse all 65044

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>