[R] standardizing data
Peter Dalgaard
p.dalgaard at biostat.ku.dk
Mon Feb 20 23:37:53 CET 2006
Christian Jones <ccatj at 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 at biostat.ku.dk) FAX: (+45) 35327907
More information about the R-help
mailing list