search for: grpchart

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

Did you mean: grpcharts
2011 May 19
3
A better way to do this
...ontaining two groups viz., 'control' and 'case', each of these groups contains longitudinal data for 100 subjects. I have to plot all these subjects on a single chart and then put a regression line for each of the group for all the subjects. I have written a function to do the chart grpcharts<-function (dat, group,group2,molecule,cutoff){ dat2<-dat[grep(group,dat$Group),] ylim=log2(c(min(dat2[,molecule],na.rm=T)+4,max(dat2[,molecule],na.rm=T)+1)) all.sub.id<-dat2$Subject.ID if (group=='control'){ col=c('blue') }else{col=c('red')} if(group2=='cas...