Hello,
See ?scale
scale(DATA) # mean 0, unit variance
Hope this helps,
Rui Barradas
Em 06-04-2013 21:21, Beatriz González Domínguez escreveu:
Dear all,
I’m finding difficulties to normalize this data. Could you provide some input?
DATA:
c(0.000103113, 0.000102948, 0.000104001, 0.0001037
Hi,
Probably you might have got the solution.
Anyway, you can try this:
Dat <- read.table(text="
ID TIME DV
1 0 0.880146038
1 1 0.88669051
1 3 0.610784702
1 5 0.75604
2 0 0.456263368
2 1 0.369991537
2 3 0.508798346
2 5 0.441037014
3 0 0.854905349
3 1 0.960457553
3 3
Thanks for the help,
it works very well.
--
View this message in context:
http://r.789695.n4.nabble.com/data-normalization-tp4633939p4633964.html
Sent from the R help mailing list archive at Nabble.com.
__
R-help@r-project.org mailing list
https://s
assuming that the entries for each subject are ordered with respect to
TIME and each subject has a measurement at TIME = 0, then you could use
the following:
Data <- read.table(textConnection("ID TIMEDV
1 0 0.880146038
1 1 0.88669051
1 3 0.610784702
1 5 0.75604
2 0
4 matches
Mail list logo