Displaying 1 result from an estimated 1 matches for "stock_rat".
Did you mean:
stock_rate
2010 Feb 18
2
Rearranging data
...filtered1 <- subset(invest_data,investment_id==1)
filtered2 <- subset(invest_data,investment_id==2)
filtered3 <- subset(invest_data,investment_id==3)
filtered4 <- subset(invest_data,investment_id==4)
so filtered1 will give me
> filtered1
corp_id date investment_id stock_rate
1 corp1 17-Feb 1 65
2 corp1 16-Feb 1 70
3 corp1 15-Feb 1 69
4 corp1 14-Feb 1 89
5 corp1 13-Feb 1 88
6 corp2 17-Fe...