similar to: help with double looping

Displaying 6 results from an estimated 6 matches similar to: "help with double looping"

2013 Feb 07
4
help with creating new variables using a loop
Hi there, I've got a set of 10 numeric variables called Mood1 to Mood10 in a dataset called mood. I'm trying to create a set of 10 new variables called m1 to m10 so that m1=Mood1*1, m2=Mood2*2, etc to m10=Mood10*10 Trawling through the internet, I eventually tried the following code: for (i in 1:10){ assign(x=paste0("mood$m",i),
2004 Jul 16
1
Fixed and random factors in aov()
Hi, I'm confused about how to specify random and fixed factors in an aov() term. I tried to reproduce a textbook example: One fixed factor (Game, 4 levels) and one random factor (Store, 12 levels), response is Points. The random factor Store is nested in Game. I tried > str(kh.df) `data.frame': 48 obs. of 4 variables: $ Subj : Factor w/ 48 levels
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
2006 Mar 02
0
Combining plaintext and plotmath expressions
I searched the archives and did not find a solution, so I pose this question to those well-versed in the use of plotmath and expressions. I have a list of strings in an external CSV file which I wish to use sometimes as plot axis labels and sometimes as plot titles. These strings combine plaintext and a few mathematical expressions (Greek letters, subscripts). Moreover, I sometimes need to
2013 May 13
3
help: R GUI front-end has stopped working
Hello, I'm using the function nlminb of the package stats inside a loop and when the number of trials grows, R crashes and says "R GUI front-end has stopped working". Could you help me with this problem? I have try in versions 2.15.1,2.15.2 and 3.0.0. > sessionInfo() R version 2.15.2 (2012-10-26) Platform: i386-w64-mingw32/i386 (32-bit) locale: [1]
2008 Jun 30
4
Rebuild of kernel 2.6.9-67.0.20.EL failure
Hello list. I'm trying to rebuild the 2.6.9.67.0.20.EL kernel, but it fails even without modifications. How did I try it? Created a (non-root) build environment (not a mock ) Installed the kernel.scr.rpm and did a rpmbuild -ba --target=`uname -m` kernel-2.6.spec 2> prep-err.log | tee prep-out.log The build failed at the end: Processing files: kernel-xenU-devel-2.6.9-67.0.20.EL Checking