Displaying 3 results from an estimated 3 matches for "christel".
Did you mean:
christer
2013 Feb 07
4
help with creating new variables using a loop
...gn(x=paste0("mood$m",i),
value=paste0("mood$Mood",i)*i,
envir=.GlobalEnv)
}
unfortunately this doesn't work as it seems the paste0 function returns a list object that only contains the vector's name and not the vector itself.
Hope someone can help...
Christel
[[alternative HTML version deleted]]
2013 Feb 08
1
help with double looping
...on (i-1)*v(i) to the first 10 variables, then the same for the next 10 variables, etc... 16 times.
I have tried the following with no luck:
iscores<-list()
for (j in seq(1,166,11))
{
for (i in j:(j+10))
{iscores[[i-j+1]]=(i-j)*data[[i-j+1]]
}
}
any suggestion...?
many thanks,
Christel
[[alternative HTML version deleted]]
2007 Mar 16
2
Discriminating between experiments with xyplot (lattice)
Hi,
suppose I have data from 3 experiments which show conversion as a function of
time for different boundary conditions, e.g. pressure, temperature. I want to
plot all experiments as conversion over time grouped according to the
temperature. However, since I have more than one experiment performed at the
same temperature (but different pressures) I end up figuring out which curve
belongs