Displaying 1 result from an estimated 1 matches for "filtered1".
Did you mean:
filtered
2010 Feb 18
2
Rearranging data
... 44
corp11 17-Feb 1 30
corp13 17-Feb 1 16
corp21 15-Feb 3 21
I have filtered them based on investment id as
invest_data = read.csv('input.csv')
investment_id = invest_data$investment_id
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...