Displaying 1 result from an estimated 1 matches for "theta3_i".
Did you mean:
theta1_i
2009 Apr 20
3
Calling objects in a loop
...,data.frame(scale(rnorm(250))))
assign(paste("theta2_",i,sep=""),data.frame(scale(rnorm(250))))
assign(paste("theta3_",i,sep=""),data.frame(theta1_i +
theta2_i)
}
I am having trouble with getting it to recognize that theta3_i should be
calculated using theta1_i and theta2_i in the third line. In other words,
theta3_1 should equal theta1_1+theta2_1 whereas theta3_2 should equal
theta1_2+theta2_2
Any advice as to where I am losing this one?
Thanks,
brendan
[[alternative HTML version deleted]]