Displaying 1 result from an estimated 1 matches for "discount_count_percentag".
Did you mean:
discount_count_percentage
2010 Nov 11
1
trouble with plotting data- possible bug?
...all_table.csv", stringsAsFactors = FALSE);
A$period[nchar(A$period)==5]<-paste("0",A$period[nchar(A
$period)==5],sep="");
A$period<-as.Date(strptime(A$period,("%y%m%d")));
#get all unique names
name<-unique(A$LEVEL);
#create a table for each manager for discount_count_percentage
level=6;
month<-as.numeric(A$Month[A$LEVEL==name[level]]);
month3<-as.numeric(A$Month3[A$LEVEL==name[level]]);
period<-A$period[A$LEVEL==name[level]];
#???why is this part going wrong?
plot(period, month, type='l');
lines(period, month3, col=2);
p.s. sorry about corporate notice...