print median and sd...
Where do you want to print it? Is it the console (if so, try 'print(median)') or if it is the plot, use 'text' with the appropriate parameters. It would help if you listed the " I tried many things but without success..." and what you were expecting vs. what you got. Reproducible code would be useful (and required).
On Thu, Mar 12, 2009 at 10:42 PM, johnhj <jharris at web.de> wrote:
Hii, Can anybody help me, I don't know how to print the "median". Below is my code snipplet... x <-read.table(file="D:/Uni/Diplom/Diplom/Grafiken/R/BATMAN/Kabel/Batman1hop/Standardabweichung__output_30_1_Kabel(30m)_b.txt") png(filename = "D:/Grafiken/R/Standardabweichung/Kopie.png", width = 640, height = 480,pointsize = 12, bg = "white", ?res = NA) median<-with(x, tapply(V3, grup, median)) ??? dev.off() I will print, the median values with a simple line.. I tried many things but without success... I would be very appreciate, if anyone could help me... greetings, John -- View this message in context: http://www.nabble.com/print-median-and-sd...-tp22489185p22489185.html Sent from the R help mailing list archive at Nabble.com.
______________________________________________ R-help at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Jim Holtman Cincinnati, OH +1 513 646 9390 What is the problem that you are trying to solve?