search for: freq_times_y

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

2007 Sep 21
1
Help create a loopto conduct multiple pairwise operations
....35, 0.05, 0.05, 0.20) Loc3 <- cbind(Z.alleles, Z.Freq) Z <- data.frame (Loc3) X Y Z # I want to create a pair wise multiplication for all of the second columns of my dataframe X,Y and Z # Here is a way to get two of the data frames to create a pairwise multiplication. X.Freq_times_Y.Freq<- matrix(Y[,2] %o% X[,2], ncol=1) X.Freq_times_Y.Freq # I would like to create a loop to calculate all possible pairwise multiplications for the # second columns of my X,Y, and Z data frames. # I will be conducting pair wise comparisons for up to 50 different data frames so I need the code...
2007 Sep 19
0
Create a loop to conduct multiple pairwise binary operations Retry
....35, 0.05, 0.05, 0.20) Loc3 <- cbind(Z.alleles, Z.Freq) Z <- data.frame (Loc3) X Y Z # I want to create a pair wise multiplication for all of the second columns of my dataframe X,Y and Z # Here is a way to get two of the data frames to create a pairwise multiplication. X.Freq_times_Y.Freq<- matrix(Y[,2] %o% X[,2], ncol=1) X.Freq_times_Y.Freq # I would like to create a loop to calculate all possible pairwise multiplications for the # second columns of my X,Y, and Z data frames. # I will be conducting pair wise comparisons for up to 50 different data frames so I need the code...