search for: sum_pt_prog

Displaying 1 result from an estimated 1 matches for "sum_pt_prog".

2012 Nov 16
1
Sum Column in data.frame for Excel-Export
Hello together, I have a data.frame, which I would like to export to excel. This works without problems. My problem is, that i can't sum one of the colums. If i try this, i get the sum of this column. > sum_PT_PROG<-sum(data_export_final_sort$PT_PROG,na.rm=TRUE) > sum_PT_PROG [1] 130 But how can i get this result under my column for the Excel Export? Now my Excel Export looks like this one. PT_PROG 23 100 7 and now i want under this digets the sum of this column (130)? Thanks for your help. Mat -...