Displaying 1 result from an estimated 1 matches for "latticemultipliers".
2007 Mar 10
2
Table Construction from calculations
...1
3 0 0 2
4 0 0 3
5 0 1 1
so that I end up with a table such as:
V1 V2 V3
0.5 0.5 0.5
0.5 0.5 1.5
0.5 0.5 2.5
0.5 0.5 3.5
0.5 1.5 1.5
I've tried many variations on the following: (not just cat, but most of
the data/data.table options)
test = for(i in 1:5) {cat(basis[1,2:4] + latticemultipliers[i,],
append=TRUE)}
However, I either end up with an error telling me that cat doesn't
handle "type 'list' " or with a table with length of 1 such as:
x y z
2 0.5 1.5 1.5
Which is simply the last value that the loop calculates.
Does anyone know what function ha...