Displaying 1 result from an estimated 1 matches for "varlist3".
Did you mean:
varlist
2006 Apr 11
2
variable-substitution / command-substitution
...dering
whether R is able to do variable-substitution /command-substitution
similar to shell-programming, so that I could imbed the read.table
option (and further commands) in 3 loops (one for every variable in the
filenames) .
e.g.:
for var1 in (varlist1)
for var2 in (varlist2)
for var3 in (varlist3)
read.table("..../p$var1_t$var2_c$var3.txt")
....statistics......
done
done
done
Cheers,
Damaris