search for: avgbebitchg

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

2011 Oct 01
1
error using ddply to generate means
...ot;) fun3 gics_sector_name bebitpcchg ticker 12 Financials -0.5674491 UBSN VX Equity 24 Financials 0.9960064 LLOY LN Equity 36 Materials NA AI FP Equity 48 Materials -42.7587479 AKE FP Equity fun4<-ddply(fun3,c("sector"),summarise,avgbebitchg=mean(bebitpcchg,na.rm=TRUE)) Error in `[.data.frame`(x, order(x, na.last = na.last, decreasing = decreasing)) : undefined columns selected This is a small sample of my data. I?m probably overlooking some problem in my syntax, but would be very grateful if someone could point it out. Thanks in a...