search for: bmass

Displaying 2 results from an estimated 2 matches for "bmass".

Did you mean: mass
2011 Oct 21
2
'Apply' giving me errors
So i have a simple function: bmass=function(y){ weight=y$WT*y$MSTR return(bio) } And want to apply to a whole bunch of rows in my data.frame: final1=apply(final,1,yldbu) BUT...recieve the following error: "Error in y$WT : $ operator is invalid for atomic vectors" However when i try: > final[1,]$WT*final[1,]$MSTR [...
2012 Dec 02
0
help setting up crossed data
Hello, and thanks for your time reading this. I'm trying to test interactions of my dataset, in which the all of the factors are within the same column. Type Vol 1 CMass -4.598 2 BBack -4.605 3 BMass -4.602 4 CMass -4.601 5 CBack -4.605 6 CMass -4.604 7 CMass -4.602 8 CMass -4.604 9 CBack -4.605 10 BBack -4.503 11 CMass -4.605 Im attempting to determine the interaction effects of B or C on Mass and Back Looking for a set up as such Volume ~ CorB + MassorBack + CorB:MassorBack is there an easy...