search for: myage

Displaying 4 results from an estimated 4 matches for "myage".

Did you mean: mage
2012 Dec 07
2
Assigning cases to groupings based on the values of several variables
...% 3),"mygroup.m1"]<-7 mydata[(mydata$sex %in% "f")&(mydata$age %in% 4),"mygroup.m1"]<-8 (mydata) # Method 2 of assigning to groups - very "loopy": mydata$mygroup.m2<-NA for(i in 1:nrow(mydata)){ # i<-1 mysex<-mydata[i,"sex"] myage<-mydata[i,"age"] mydata[i,"mygroup.m2"]<-groupings[(groupings$sex %in% mysex)&(groupings$age %in% myage),"mygroup"] } (mydata) # Method 3 of assigning to groups - also "loopy", but less than Method 2: mydata$mygroup.m3<-NA for(i in 1:nrow(grou...
2008 Oct 21
3
code works in R desktop but not iin RWeb - How do I modify to get it working in RWeb, please?
Hi, How are you? I have a quick question.... I have code that works perfectly with R desktop, but does not work with RWeb. Could you please tell me how to modify the code below so it will work with RWeb? #Read in txt file happyguys<-read.table("c:/test8.txt", header=TRUE, row.names=1) #Subset the txt file to only include certain values test<-subset(happyguys, GRADE == 7
2005 Apr 18
1
[LLVMdev] Best way to require a pass from a dynamically loaded module?
Hi, I have a situation where I built an analysis pass as a loadable module, but I'd like to require it from other passes, to make it available if it's been loaded. Is there a clean way to do this, or am I stretching it too far? If there isn't a nice way, I'd be interested in discussion about what would be the least ugly hack just to get it working. Thanks! -mike -- Michael
2008 Oct 23
1
code works in R desktop but not iin RWeb - I got it working
Hi, I got this working. i had to get rid of an underscore in one of my variable names to work on RWeb. Thanks for your help though!! Natalie __________________ I think you have to be either honest or careful, since the code you submitted to Rweb is different with your former code! Why the condition was changed from "test<-subset(X, GRADE == 7 & Y_Q10A < 9)" to