Displaying 4 results from an estimated 4 matches for "var23".
Did you mean:
var2
2010 Jun 16
0
biglm.big.matrix: Problem with weighting
...;, header=TRUE, type="double",
sep="\t")
Reg <- biglm.big.matrix(formula = LAannualisiert ~ 0 + VAR01 + VAR02 +
VAR03 + VAR04 + VAR05 + VAR06 +
VAR07 + VAR08 + VAR09 + VAR10 + VAR11 + VAR12 + VAR13 +
VAR14 + VAR15 + VAR16 + VAR17 + VAR18 + VAR19 +
VAR21 + VAR22 + VAR23 + VAR24 + VAR25 + VAR26 + VAR27 +
VAR28 + VAR29 + VAR30 + VAR31 + VAR32 + VAR33 + VAR34 +
VAR35 + VAR36 + VAR37 + VAR38 + VAR39, weights = ~Gewicht , data =
NIKA)
summary(Reg)
Best regards form germany, berlin.
Rahim Hajji
[[alternative HTML version deleted]]
2008 May 30
0
imputationlist, update, and recode
...s.allmisets <- list.files(getwd(),pattern="miset*",full=TRUE)
allmis <- imputationList(lapply(files.allmisets, read.csv))
scale1_vars <- c("var1", "var2", "var3", ... "var20")
scale2_vars <- c("var21", "var22", "var23", ... "var34")
allmis <- update(allmis, myscale1 = rowMeans(allmis[scale1_vars],
na.rm=TRUE))
allmis <- update(allmis, myscale2 = rowMeans(allmis[scale2_vars],
na.rm=TRUE))
Any help with this or general pointers about how to manage scale
construction across multiple data set...
2010 Nov 22
2
how to loop through variables in R?
After importing a table with "M" variables and "N" records, I'd like to
calculate chi-square statistics, say, between N1, N2; N1, N3, ..., N1, Ni,
and then N2, N3, ... N2, Ni, ..., Ni-1, Ni. Two loops should be ok but the
manual & online help don't show a systematic way to do so but instead show
hard-code examples so users have to type in the names themselves one
2010 Nov 24
0
4. Rexcel (Luis Felipe Parra)-how to run a code from excel
...il at gmail.com>
To: watashi at post.com
Sent: Mon, Nov 22, 2010 4:32 pm
Subject: Re: [R] how to loop through variables in R?
If you want to have a name-specific loop.
Assign names to your variables after inserting them into the data.frame like
that:
colnames(df) <- c("var1","var23","var456","var44",...)
for (nam in colnames(df)) {
myfunction(df[[nam]])
}
Data.frames support access by names.
Unfortunately, in this sense I have to type in 1000 times... isn't there any
function that allows retrieving and assigning all columns automatically?
read....