Displaying 1 result from an estimated 1 matches for "denomitor".
Did you mean:
  denominator
  
2004 Jul 18
2
a problem: factors, names, tables ..
...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 like :  denomitor / nominator	
}
The problem is that the factor names that are extracted in 'denomtag' are  
not usable as index in the dataframe in the last line.   I have tried  
converting to numeric using 'as.numeric', but that fails since this  
returns the index in the factor rather then the f...