print median and sd...
johnhj wrote:
Hii Jholtman, I will make a graph of the median values and not to print to the console. I tried to plot with: plot(V3 ~ grup, data = median) ?? but I get an error message. I also tried to print the output of median<-with(x, tapply(V3, grup, median)) to a text file with the X and Y Koordinates to plot it explicit with plot(x,y) but I could not figure out the X Values. I have not su much experience with R, I would be thankful if you could help me...
Hi John, Try this, it may be what you want: library(prettyR) testmat<-matrix(sample(1:10,50,TRUE),ncol=5) testmedians<-describe(testmat,num.desc="median",xname="testmat") plot(testmedians[[1]],type="l") Jim