Re: [R] Total and heading of portfoilo table

2010-02-16 Thread Petr PIKAL
; > write.csv(data.frame(Z, port_val = port_val), 'PORTFOLIO.csv', row.names = FALSE) > > > I am sure the experts will have much simpler way to address this problem. > > Regards > > Madhavi > > --- On Mon, 15/2/10, Sarah Sanchez wrote: > > &g

Re: [R] Total and heading of portfoilo table

2010-02-15 Thread Madhavi Bhave
port_val = port_val), 'PORTFOLIO.csv', row.names = FALSE) I am sure the experts will have much simpler way to address this problem.   Regards   Madhavi --- On Mon, 15/2/10, Sarah Sanchez wrote: From: Sarah Sanchez Subject: [R] Total and heading of portfoilo table To: r-help@r-project.org D

[R] Total and heading of portfoilo table

2010-02-15 Thread Sarah Sanchez
Dear R helpers, I have two input files as 'quantity.csv' and 'equity_price.csv' as (for example) given below. 'quantity.csv' GOOG YHOO 1000 100 'equity_price.csv' sr_no   GOOG_price   YHOO_price 1    15.22 536.40 2    15.07 53