Displaying 2 results from an estimated 2 matches for "rluma1979".
2011 May 19
2
trouble with summary tables with several variables using aggregate function
Dear all,
I am having trouble creating summary tables using aggregate function.
given the following table:
Var1 Var2 Var3 dummy
S1 T1 I 1
S1 T1 I 1
S1 T1 D 1
S1 T1 D 1
S1 T2 I 1
S1 T2 I 1
S1 T2 D 1
S1 T2 D 1
S2
2011 May 29
1
constructing nxn matrices involving calculations& conditions based on other tables
Dear R-users,
I am having trouble constructing nxn matrices involving calculations&
conditions based on other tables.
Below I describe a simple example of what I am trying to do:
Given the Table A (n x m):
Species1
Species2
X
A1,1
A1,2
Y
A2,1
A2,2
Z
A3,1
A3,2
I want to create a matrix M (n xn)
X
Y
Z
X
-
M1,2
M1,3
Y
M2,1
-
M2,3
Z
M3,1
M3,2
-