Re: [R] Normalized data

2007-10-22 Thread Klaus Friis Østergaard
2007/10/22, Petr PIKAL <[EMAIL PROTECTED]>: > > Hi > > [EMAIL PROTECTED] napsal dne 22.10.2007 14:01:14: > > > Hi, > > > > I need to calculate either Error or Normalized values based on the > following > > principle: > > > > Error = Observed value - reference value > > Normalized value = Observed V

[R] Normalized data

2007-10-22 Thread Klaus Friis Østergaard
Hi, I need to calculate either Error or Normalized values based on the following principle: Error = Observed value - reference value Normalized value = Observed Value - Part average appraiser <- rep(rep(1:3,c(3,3,3)),10) trail <- rep(rep(1:3,3),10) part <- rep(1:10,c(9,9,9,9,9, 9,9,9,9,9)) value

Re: [R] Sweave Xtable row names

2007-10-21 Thread Klaus Friis Østergaard
2007/10/22, Gabor Grothendieck <[EMAIL PROTECTED]>: > > See ?print.xtable, e.g. > > print(x, include.rownames = FALSE) > > Thanks -- Klaus F. Østergaard, [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.et

[R] Sweave Xtable row names

2007-10-21 Thread Klaus Friis Østergaard
Hi, How do one avoid rownames when xtable is used to make tables for Latex. <<>>= MSe <- 0.12 MSa <- 0.15 MSap <- 0.13 MSp <- 0.14 k <- 5 n <- 4 r <- 30 EV <- 5.15*sqrt(MSe) AV <- 5.15*sqrt((MSa - MSap)/(n *k)) Iap <- 5.15 * sqrt((MSap-MSe)/r) GRR <- sqrt((EV)^2 + (AV)^2 + (Iap)^2) PV <- 5

Re: [R] Adding horizontal lines to Boxplot

2007-10-19 Thread Klaus Friis Østergaard
2007/10/19, Frede Aakmann Tøgersen <[EMAIL PROTECTED]>: > > If you carefully read the man for boxplot (?boxplot) you can see in the > examples that you can put in a ylim as an argument to the boxplot function: > > boxplot(3:5, 2:4,4:6, ylim = c(0, 8)) > > See also ?bxp. > > best regards > > Frede

Re: [R] Adding horizontal lines to Boxplot

2007-10-19 Thread Klaus Friis Østergaard
2007/10/19, Frede Aakmann Tøgersen <[EMAIL PROTECTED]>: > > So where is the reproducable example? > > How can we know that you're not doing > > boxplot(1:10) > abline(h = 400, col = "red")? > > best regards > > Frede You are right, a reproducable example should have been there. I don't know wh

Re: [R] Adding horizontal lines to Boxplot

2007-10-19 Thread Klaus Friis Østergaard
2007/10/19, Gabor Grothendieck <[EMAIL PROTECTED]>: > > Try this: > > boxplot(1:10) > abline(h = 4, col = "red") Have tried it, I only get the boxplot, no red line. It works on the plotte images. That is why I asked the question here on the list. -- Klaus F. Østergaard, [[alternat

[R] Adding horizontal lines to Boxplot

2007-10-19 Thread Klaus Friis Østergaard
Hi, Is it possible to add horizontal lines to a boxplot. I want to add these lines in ordre to indicate where tolerance limits on the boxplot. -- Klaus F. Østergaard, [[alternative HTML version deleted]] __ R-help@r-project.org mailing list

Re: [R] Data manipulation

2007-10-16 Thread Klaus Friis Østergaard
2007/10/15, Petr PIKAL <[EMAIL PROTECTED]>: > > Hi > > > Well, let us put it another way. Do you want for each unique combination > of Hole and Feature to subtract a value from one data frame, let us call > it nom from another data frame, let us call it raw? If yes I assume you > have exactly same

Re: [R] Data manipulation

2007-10-15 Thread Klaus Friis Østergaard
singel sample, and I have measured on 98 different samples. As a part of a process capability analysis I would like to compare the measured values for each holes by subtracting the target/should be/ nominel value, so i look at deviation from the "true" value. I hope this explains this bett

[R] Data manipulation

2007-10-14 Thread Klaus Friis Østergaard
Hi, I have a data set which is like this I write as the CSV I import: Sample;Hole;Feature;Value 1;5;x;4,2334 1;5;y;3,3434 1;5;r;0,1080 1;10;x;5,2526 1;10;y;4,3434 1;10;r;0,1080 with 98 sample and 10 different holes. These are measured values. Now I also have a list of nominel values: Hole