Displaying 1 result from an estimated 1 matches for "form1y1".
2011 Jun 21
1
Setting up list of many equations for systemfit
...EQ", 1:4,sep=""),sep="=")
#attempt 2 "automate" above:eqSystem2 <-as.list(paste(paste("form", 1:4, sep=""), paste("EQ", 1:4,sep=""),sep="="))
Here are the results:
The results that I want to get:> eqSystem1$form1Y1 ~ X1 + X2 + X4
$form2Y2 ~ X2 + X3
$form3Y3 ~ X2 + X3 + X4
$form4Y4 ~ X1 + X3 + X4
The results of my attempts:attempt 1: > eqSystem1 [1] "form1=EQ1" "form2=EQ2" "form3=EQ3" "form4=EQ4"
attempt 2:> eqSystem2[[1]]
[1] "form1=EQ1"
[[2]]
[1] "...