You can put the dataframes in a list and then use 'combn' to determine
the possible pairwise combinations and then use this in an lapply to
compute the products which is also in a list:
>
> X.alleles <- c(1,5,6,7,8)
> X.Freq<- c(0.35, 0.15, 0.05 , 0.10, 0.35)
> Loc1 <- cbind(
#Hello,
#I have three data frames, X,Y and Z with two columns each and different
numbers of rows.
# creation of data frame X
X.alleles <- c(1,5,6,7,8)
X.Freq<- c(0.35, 0.15, 0.05 , 0.10, 0.35)
Loc1 <- cbind( X.alleles,X.Freq)
X <- data.frame(Loc1)
#creation
2 matches
Mail list logo