Use the p_f numbers as an "index" of spot$pxlast. Suppose your data frame
is called mydata,
mydata$newvar <- spot$pxlast[mydata$p_f]
Jean
On Fri, Nov 14, 2014 at 8:48 AM, Francesca Pancotto <
francesca.panco...@unimore.it> wrote:
> Dear Contributors
> I seem not to get the general rule applyin
Dear Contributors
I seem not to get the general rule applying to the use of loops.
I need some help. I have a database in which i need to generate a variable
according to the following rule.
This is the database head
bank_name date px_last Q_Y p_made p_for p_m p_f
aba.1
2 matches
Mail list logo