Displaying 1 result from an estimated 1 matches for "st_rendite_i".
2009 Jan 22
1
looping over a string
...max_int),sep="")
analyse<-rnorm(10000)
for(i in 1:min(max_bob,max_int)){
assign(varnames[i],diff(log(analyse),i)*100)
}
#Wurzel_t - Approximation ?berpr?fen
varianzen<-paste("var_",seq(Tage),sep="")
for(i in 1:Tage){
#in this line is the error I cannot handle (st_rendite_i):
assign(varianzen[i],var(st_rendite_i)/100^2)
}
Thanks for your help,
Thomas