Displaying 1 result from an estimated 1 matches for "dvnorm".
Did you mean:
dnorm
2012 Jun 20
3
data normalization
...whether there's a better way
to do it.
I have the following code with only 1 loop, but it did not work. Can anyone
help with this? Thanks,
IDS <- unique(data.frame$ID)
for(WhichID in IDS)
{
subset <- data.frame[,"ID"] == WhichID
DVREAL <- data.frame[subset,"DV"]
DVNORM[WhichID] <- DVREAL/DVREAL[1]
}
--
View this message in context: http://r.789695.n4.nabble.com/data-normalization-tp4633911.html
Sent from the R help mailing list archive at Nabble.com.