Read the Posting Guide. The example you provide below is not reproducible [1],
so we cannot tell what you're giving to the outer() function.
[1]
http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example
-
Dear members
I am trying to apply the function kl.dist (Kullback-Leibler Distance
measure) to multiple matrixes.
I tried the following :
veckldist <- Vectorize(kl.dist)
distancematrix <- outer (matrix1,matrix2, "veckldist")
But the code is complaining that the list of the object does not mat
2 matches
Mail list logo