Displaying 1 result from an estimated 1 matches for "denomtag".
2004 Jul 18
2
a problem: factors, names, tables ..
.... ?
df2 <- as.data.frame(tt2) #same here
print(tt);
print(df);
print(tt2);
print(df2);
for( i in 1:length(tt) ) { #loop over smallest table tt
print("i:"); #index
print(i);
print( "denominator "); #corresponds to the "1" in the example
print( df$Freq[i] );
denomtag = ( df$Var1[ i ] ); # corresponds to the "10" in the example,
being the type number of the event
print("denomtag ");
print( denomtag );
print( "nominator: " );
print( df2[2][ df[1] == as.numeric(denomtag) ] ); #this fails ....
#result would then be somthing lik...