Displaying 1 result from an estimated 1 matches for "contractvalu".
Did you mean:
contractvalue
2010 May 26
2
writing function : can't find an object
...SITION * -1)),
"DESCRIPTION",summarise,pl=sum(prix),quantity=sum(POSITION))
#remove the date in $DESCRPTION and add a new column $SHORTDESCRIPTION
allcon$SHORTDESCRIPTION<-sub('
[a-z]{3}/[0-9]{2}','',allcon$DESCRIPTION,ignore.case=TRUE)
#read the contractvalue file
value<-read.csv2("contractvalue.csv",sep=",",h=T,strip.white=T)
#merge "value" with "allcon", change some columns, then merge with PosB,
replace NA by zero and assign the final result to element PL
zz<-merge(transform(merge(value,all...