search for: aa_2001

Displaying 8 results from an estimated 8 matches for "aa_2001".

Did you mean: aa_2000
2017 Dec 04
3
Dynamic reference, right-hand side of function
...rly advanced Stata-user, I guess part of my problem is that my mindset (and probably my language as well) is wrong. Anyway, I have what I guess is a rather simple problem, that I now without success spent days trying to solve. I have a bunch of datasets imported from Stata that is labelled aa_2000 aa_2001 aa_2002, etc. Each dataset is imported as a matrix, and consists of one column only. The columns consists of integer numbers. I need to convert the data to vectors, which I found several ways to do. I use, for example: aa_2000 <- as.numeric(aa_2000[,1]) However, when trying to automate the task,...
2017 Dec 04
0
Dynamic reference, right-hand side of function
...ed Stata-user, I guess part of my problem is that my mindset (and probably my language as well) is wrong. Anyway, I have what I guess is a rather simple problem, that I now without success spent days trying to solve. > > I have a bunch of datasets imported from Stata that is labelled aa_2000 aa_2001 aa_2002, etc. Each dataset is imported as a matrix, and consists of one column only. The columns consists of integer numbers. I need to convert the data to vectors, which I found several ways to do. I use, for example: > aa_2000 <- as.numeric(aa_2000[,1]) > However, when trying to automate...
2017 Dec 04
3
Dynamic reference, right-hand side of function
...ed Stata-user, I guess part of my problem is that my mindset (and probably my language as well) is wrong. Anyway, I have what I guess is a rather simple problem, that I now without success spent days trying to solve. > > I have a bunch of datasets imported from Stata that is labelled aa_2000 aa_2001 aa_2002, etc. Each dataset is imported as a matrix, and consists of one column only. The columns consists of integer numbers. I need to convert the data to vectors, which I found several ways to do. I use, for example: > aa_2000 <- as.numeric(aa_2000[,1]) > However, when trying to automate...
2017 Dec 05
3
Dynamic reference, right-hand side of function
...you try to teach me some R-manners. Since I still get questions about what the h**k I mean by my strange question, I sort it out with an example: I had a number of matrices, named in a consecutive manner: aa_2000 <- as.matrix(read.csv(text="1,0,1,1,0,0,0,0,0,0,1,0,0", header=FALSE)) aa_2001 <- as.matrix(read.csv( text="0,0,0,1,0,1,1,0,0,0,0,1,0,0", header=FALSE)) aa_2002 <- as.matrix(read.csv( text="1,0,0,0,0,0,0,0,1,0,0,0,0,1,0,0", header=FALSE)) I needed them to be vectors, and they weren't: is.vector(aa_2000) I finally solved it with this loop (well...
2017 Dec 04
2
Dynamic reference, right-hand side of function
...-user, I guess part of my problem is that my mindset (and probably my language as well) is wrong. Anyway, I have what I guess is a rather simple problem, that I now without success spent days trying to solve. >> >> I have a bunch of datasets imported from Stata that is labelled aa_2000 aa_2001 aa_2002, etc. Each dataset is imported as a matrix, and consists of one column only. The columns consists of integer numbers. I need to convert the data to vectors, which I found several ways to do. I use, for example: >> aa_2000 <- as.numeric(aa_2000[,1]) >> However, when trying to...
2017 Dec 04
0
Dynamic reference, right-hand side of function
...-user, I guess part of my problem is that my mindset (and probably my language as well) is wrong. Anyway, I have what I guess is a rather simple problem, that I now without success spent days trying to solve. >> >> I have a bunch of datasets imported from Stata that is labelled aa_2000 aa_2001 aa_2002, etc. Each dataset is imported as a matrix, and consists of one column only. The columns consists of integer numbers. I need to convert the data to vectors, which I found several ways to do. I use, for example: >> aa_2000 <- as.numeric(aa_2000[,1]) >> However, when trying to...
2017 Dec 05
0
Dynamic reference, right-hand side of function
...gt; Since I still get questions about what the h**k I mean by my strange > question, I sort it out with an example: > > I had a number of matrices, named in a consecutive manner: > > aa_2000 <- as.matrix(read.csv(text="1,0,1,1,0,0,0,0,0,0,1,0,0", > header=FALSE)) > aa_2001 <- as.matrix(read.csv( text="0,0,0,1,0,1,1,0,0,0,0,1,0,0", > header=FALSE)) > aa_2002 <- as.matrix(read.csv( text="1,0,0,0,0,0,0,0,1,0,0,0,0,1,0,0", > header=FALSE)) > > I needed them to be vectors, and they weren't: > > is.vector(aa_2000) > &gt...
2017 Dec 04
0
Dynamic reference, right-hand side of function
...I guess part of my problem is that my mindset (and probably my language as well) is wrong. Anyway, I have what I guess is a rather simple problem, that I now without success spent days trying to solve. >>> >>> I have a bunch of datasets imported from Stata that is labelled aa_2000 aa_2001 aa_2002, etc. Each dataset is imported as a matrix, and consists of one column only. The columns consists of integer numbers. I need to convert the data to vectors, which I found several ways to do. I use, for example: >>> aa_2000 <- as.numeric(aa_2000[,1]) >>> However, when tr...