search for: age3

Displaying 12 results from an estimated 12 matches for "age3".

Did you mean: age
2012 Feb 01
4
wine command line arguments
...as 3 CDs so copied all files to a directory and installed. Now, to get wine to behave itself, I have set the graphics up to be in a 1280x1024 window and works fine from my calling script: #!/bin/bash cd "/home/jserink/.wine/drive_c/Program Files/Microsoft Games/Age of Empires III/" wine age3.exe Now, I don't want all of wine to be in a 1280x1024 window, only the games so, I set winecfg to turn off the virtual desktop and changed my script to this: #!/bin/bash cd "/home/jserink/.wine/drive_c/Program Files/Microsoft Games/Age of Empires III/" wine -desktop 1280x1024 age3.e...
2002 Nov 26
1
Reshape by multiple variables
Dear list I'm using the reshape command and want to reshape a wide data set to a long one e.g. I have the variables y1,y2,y3,age1,age2,age3,sex,ethnic I want my new long data set to consist of the variables y (which has been created from y1,y2,y3), age (which has been created from age1,age2,age3), sex and ethnic I have tried to use the command: data1<-reshape(data,varying=list(c("y1","y2","y3"),c(&qu...
2007 Mar 05
1
Matrix/dataframe indexing
Hi all, I am hoping someone can help me out with this: If I have dataframe of years and ages and the first column and first row are filled with leading values: Df<- age1 age2 age3 Yr1 1 0.4 0.16 Yr2 1.5 0 0 Yr3 0.9 0 0 Yr4 1 0 0 Yr5 1.2 0 0 Yr6 1.4 0 0 Yr7 0.8 0 0 Yr8 0.6 0 0 Yr9 1.1 0 0 Now the rest of the cells need to be filled according to the previous year and age cell so arbitrarily, cell [2,2] should be value in cell [1,1] * exp(0.3), and cell [2,3]...
2005 Aug 12
2
coercing created variables into a new data frame using na.omit()
...the example I am working on and the approah I have been using:- data.frame1<-filepath.... attach(data.frame1) #create a new variable using a function new.variable<-rep(1,length(weight3)) for (x in 1:length(new.variable)) {f<-((((age1[x]-7)*(weight[x]-mw))+((age2[x]-7)*(weight2[x]-mw))+((age3[x]-7)* (weight3[x]-mw)))/(((age1[x]-7)^2)+((age2[x]-7)^2)+((age3[x]-7)^2))); new.variable[x]<-f} #then bind it into the existing old data frame data.frame2<-cbind(data.frame1,newvariable) rm(dat.frame1) attach(data.frame2) #everything o.k. so far but now the problem part... I basically want...
2012 Feb 06
3
Duplicate rows when I combine two data.frames with merge!
...ply(rnorm,1000,c(54,78,89),c(3.5,5.5,5.9)) #sets up 1000 random numbers for age 3,4,5 x.3<-sample(x[,1],60) #randomly selects 60 lengths from age 3 x.4<-sample(x[,2],740) x.5<-sample(x[,3],200) length<-c(x.3,x.4,x.5) length<-round(length,digits=0) #rounds lengths to whole number age3<-rep(3,60) age4<-rep(4,740) age5<-rep(5,200) age<-c(age3,age4,age5) #combines ages into one vector unique<-1:1000 #gives each fish a unique id pop<-data.frame(unique,length,age) pop<-pop[sample(1:1000,size=1000,replace=FALSE),] #randomized the order of pop c.one<-pop[sa...
2011 Oct 05
1
calling a variable which in turn calls many more variables
...essions with many covariates, most of which remain the same each time (control variables). Instead of writing 30 demographic variables every regression, is there a way I could call them all at once using a variable called, perhaps "demog"? I have tried: > demog <- list(age1, age2, age3) but I get an error when I try to call a list in a regression. I also tried: > demog <- cbind(age1, age2, age3) which allows me to run a regression, but this is not practical because when I subset the original data set and run a regression, this new matrix demog doesn't get subsetted as...
2003 Dec 17
5
beginner programming question
...heoretical) programming problem for which I have found a solution, but I feel it is a rather poor one. I wonder if there's some other (more clever) solution, using (maybe?) vectorization or subscripting. A toy example would be: rel1 rel2 rel3 age0 age1 age2 age3 sex0 sex1 sex2 sex3 1 3 NA 25 23 2 NA 1 2 1 NA 4 1 3 35 67 34 10 2 2 1 2 1 4 4 39 40 5...
2010 Sep 12
3
reshape matrix entities to columns
Greeting R helpers J I am not familiar with R but I have to use it to analyze data set that I have (30,000 20,000) I want to change the structure of the dataset and I am wondering how that might be possible in R A main data looks like this: some entities are empty Age No. Age No. Age No. Center1 5 2 8 7
2010 Aug 05
1
an issue about missing data
Hi, I am using a function 'polygenic' in the package called 'GenABEL'. -------------------------------------------------------------------------------- > h2.gs <- polygenic(b.dbp~age+age2+age3+sex+b.bmi, kin=gs.gkin, data=gs) ------------------------------------------------------------------------------- ## and I got the following error message: Error in svd(X): infinite or missing values in 'x'. I know this may be due to some missing data issue, but I just don't know how to...
2008 Jun 27
2
Age of Empires 3
Hello everyone :) I'm trying to get age of empires 3 to work, but I'm having some trouble with it. First of all: Installation went 100% smooth. No error message or anything, looked really good. Now I can start the age3.exe (replaced with a no-cd version) and the game starts up. There are 2 or 3 video trailers and after that the game just exists with an error message ("Age 3 has encountered a problem and needs to close. We are sorry for the inconvenience."). So I never see the usual game menu. Searchin...
2020 Sep 21
2
Help with the Error Message in R "Error in 1:nchid : result would be too long a vector"
Hello everyone, I am using *mlogit* to analyse my choice experiment data. I have *3 alternatives* for each individual and for each individual I have *9 questions*. I have a response from *516 individuals*. So it is a panel of 9*516 observations. I have arranged the data in long format (it contains 100 columns indicating different variables and identifiers). In mlogit I tried the following
2008 Jun 03
2
Age of Empires 3 crashes after intro, used to work fine
...L"Age of Empires 3"): stub fixme:advapi:ReportEventA (0xcafe4242,0x0001,0x0000,0x000003e8,(nil),0x0005,0x0000004d,0x7ed18800,0x7ed183b8): stub fixme:advapi:ReportEventW (0xcafe4242,0x0001,0x0000,0x000003e8,(nil),0x0005,0x0000004d,0x130908,0x7ed183b8): stub err:eventlog:ReportEventW L"age3.exe" err:eventlog:ReportEventW L"4.107.220.3353" err:eventlog:ReportEventW L"" err:eventlog:ReportEventW L"0.0.0.0" err:eventlog:ReportEventW L"00000000" fixme:advapi:DeregisterEventSource (0xcafe4242) stub fixme:wininet:InternetGetConnectedState always...