search for: aa_2007

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

Did you mean: aa_2000
2017 Dec 04
0
Dynamic reference, right-hand side of function
...datanames <- paste0("aa_", 2000:2007) datalist <- lapply(datanames, get) names(datalist) <- datanames col1 <- lapply(datalist, "[[", 1) colnum <- lapply(col1, as.numeric) (The 2nd line assumes that the damage has already been done so that you have aa_2000 ... aa_2007 in your workspace. You might alternatively create the list directly while importing the data.) -pd > On 4 Dec 2017, at 12:33 , Love Bohman <love.bohman at sociology.su.se> wrote: > > Hi R-users! > Being new to R, and a fairly advanced Stata-user, I guess part of my problem is t...
2017 Dec 04
3
Dynamic reference, right-hand side of function
...g. datanames <- paste0("aa_", 2000:2007) datalist <- lapply(datanames, get) names(datalist) <- datanames col1 <- lapply(datalist, "[[", 1) colnum <- lapply(col1, as.numeric) (The 2nd line assumes that the damage has already been done so that you have aa_2000 ... aa_2007 in your workspace. You might alternatively create the list directly while importing the data.) -pd > On 4 Dec 2017, at 12:33 , Love Bohman <love.bohman at sociology.su.se> wrote: > > Hi R-users! > Being new to R, and a fairly advanced Stata-user, I guess part of my problem is t...
2017 Dec 04
0
Dynamic reference, right-hand side of function
...ot;aa_", 2000:2007) > datalist <- lapply(datanames, get) > names(datalist) <- datanames > col1 <- lapply(datalist, "[[", 1) > colnum <- lapply(col1, as.numeric) > > (The 2nd line assumes that the damage has already been done so that you have aa_2000 ... aa_2007 in your workspace. You might alternatively create the list directly while importing the data.) > > -pd > >> On 4 Dec 2017, at 12:33 , Love Bohman <love.bohman at sociology.su.se> wrote: >> >> Hi R-users! >> Being new to R, and a fairly advanced Stata-user,...
2017 Dec 04
3
Dynamic reference, right-hand side of function
Hi R-users! Being new to R, and a fairly 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
2017 Dec 04
2
Dynamic reference, right-hand side of function
...", 2000:2007) > datalist <- lapply(datanames, get) > names(datalist) <- datanames > col1 <- lapply(datalist, "[[", 1) > colnum <- lapply(col1, as.numeric) > > (The 2nd line assumes that the damage has already been done so that > you have aa_2000 ... aa_2007 in your workspace. You might > alternatively create the list directly while importing the data.) > > -pd > >> On 4 Dec 2017, at 12:33 , Love Bohman <love.bohman at sociology.su.se> wrote: >> >> Hi R-users! >> Being new to R, and a fairly advanced Stata-...
2017 Dec 04
0
Dynamic reference, right-hand side of function
...; datalist <- lapply(datanames, get) >> names(datalist) <- datanames >> col1 <- lapply(datalist, "[[", 1) >> colnum <- lapply(col1, as.numeric) >> >> (The 2nd line assumes that the damage has already been done so that >> you have aa_2000 ... aa_2007 in your workspace. You might >> alternatively create the list directly while importing the data.) >> >> -pd >> >>> On 4 Dec 2017, at 12:33 , Love Bohman <love.bohman at sociology.su.se> wrote: >>> >>> Hi R-users! >>> Being new to R,...
2017 Dec 05
3
Dynamic reference, right-hand side of function
...; datalist <- lapply(datanames, get) >> names(datalist) <- datanames >> col1 <- lapply(datalist, "[[", 1) >> colnum <- lapply(col1, as.numeric) >> >> (The 2nd line assumes that the damage has already been done so that >> you have aa_2000 ... aa_2007 in your workspace. You might >> alternatively create the list directly while importing the data.) >> >> -pd >> >>> On 4 Dec 2017, at 12:33 , Love Bohman <love.bohman at sociology.su.se> wrote: >>> >>> Hi R-users! >>> Being new to R,...
2017 Dec 05
0
Dynamic reference, right-hand side of function
...mes, get) > >> names(datalist) <- datanames > >> col1 <- lapply(datalist, "[[", 1) > >> colnum <- lapply(col1, as.numeric) > >> > >> (The 2nd line assumes that the damage has already been done so that > >> you have aa_2000 ... aa_2007 in your workspace. You might > >> alternatively create the list directly while importing the data.) > >> > >> -pd > >> > >>> On 4 Dec 2017, at 12:33 , Love Bohman <love.bohman at sociology.su.se> > wrote: > >>> > >>> H...