Re: [R] standardizing data

From: Peter Dalgaard <p.dalgaard_at_biostat.ku.dk>
Date: Tue 21 Feb 2006 - 09:37:53 EST

Christian Jones <ccatj@web.de> writes:

> Hello R team,
> I┤m looking for a way to standardize (z transformation= standard deviation 1 and mean 0) a row of x y coordinates in order to conduct a trend analysis. Does anyone know the command in R?
> many thanks for help in advance
> Christian

What do you mean be "a row of x y coordinates"?? An N x 2 matrix?

scale() could well be the answer.

-- 
   O__  ---- Peter Dalgaard             ěster Farimagsgade 5, Entr.B
  c/ /'_ --- Dept. of Biostatistics     PO Box 2099, 1014 Cph. K
 (*) \(*) -- University of Copenhagen   Denmark          Ph:  (+45) 35327918
~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk)                  FAX: (+45) 35327907

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Tue Feb 21 11:11:22 2006

This archive was generated by hypermail 2.1.8 : Tue 21 Feb 2006 - 14:38:23 EST