Displaying 1 result from an estimated 1 matches for "p1t1".
Did you mean:
p11
2006 Dec 20
2
Newbie data organisation/structures question...
Howdo folks,
So my data is in this sort of format:
P T I
1 1 (1, 2, 3)
2 1 (2, 4)
1 2 (1, 3, 6, 7)
2 2 (6)
And I want to be able to quickly get:
1: The I when both P and T are given. e.g.:
P = 2, T = 2; I = (6)
2: The concatenated vector of Is when P and a subset of T is given, e.g.:
P = 1, T = 1:2; Is = (1, 2, 3, 1, 3, 6, 7)
3: The length of that vector.
It would also be nice to