search for: variablesnam

Displaying 1 result from an estimated 1 matches for "variablesnam".

Did you mean: variable_name
2011 Jun 23
0
Loops, Paste, Apply? What is the best way to set up a list of many equations?
...uot;form4","=","EQ4")))names(V2system)<-paste("form",1:4,sep="") Any ideas?Thank you so much in advance for any help provided. Rita ######## HERE'S MY SAMPLE PROGRAM ######## YX<-as.data.frame(matrix(rnorm(280),ncol=14, nrow=20)) ?## generate variablesnames(YX) <-c(paste("Y", 1:4, sep=""), ? ? ? ? ? ? ? ? ?## assign Y variables' names? ? ? ? ? ? ? paste("X", 1:10, sep="")) ? ? ? ? ? ? ? ? ## assign X variables' names EQ1 <- Y1 ~ X1 + X2 + X4 + X7 + X10 ? ? ?## equation 1 formulaEQ2 <- Y2 ~ X2...