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 match.
Dear R -Users,
I wanted to know about some existing functions (despite of euclidiean) to
compute the distance between multiple histograms.
I have found some examples like kullbakc -Leibler DIvergenz but the syntax
for this is not available?
Does anybody have an idea?
Thanks
--
View this
Dear R-user,
I am trying to apply bhattacharyya-distance function to my data. Did anybody
use it before ?
My code is the following
#Bhattacharya Distance measure
#a and b are vectors
a - (1,2,3,4,2,2,2,2,2,2,2,1,4,5,6,-1,-1,-1,-1,-1,-3,-3,-3)
b -
cluster ? Does
somebody knows how to access the table of raw data which are in the same
cluster ?
Thanks for help
DZU
--
View this message in context:
http://r.789695.n4.nabble.com/K-means-results-understanding-tp4670171.html
Sent from the R help mailing list archive at Nabble.com
Hi,
Thanks for reply but I already read the help page I am new in R and did not
understand the output description of kmeans -function. That is why I wanted
to ask some experts in the group.
My point is that I do not understand which data are combined in the specific
cluster?
I tried the
Dear all,
I need to create a for-loop in which I can compute multiple histograms
My code is the following :
#singlefile includes huge csv file
#I want to specify the binsize
#I would like to compute in the for -loop the histograms
numfiles - length(singlefile)
for (i in 1 :51)
{
Hello
Thanks for reply
I want to compute several histograms in a for loop.I am trying to set the
binsize constant in the beginning.
#compute the histograms
for (i in 1:12)
{
binsize - -20 :20/2
hist(singlefile$GVC(singlefile$new_id[,i], freq = FALSE,xlab =Graph i,
col = pink,main
about
tircks, ideas !!
I am trying many diffrent thing to let this for loop work but I did not find
a solution, therefore I decided to ask in the forum
Thanks in advance
DZU
--
View this message in context:
http://r.789695.n4.nabble.com/hist-function-in-a-for-loop-tp4669797p4669823
Dear R-help users,
I am quite new in R. I have multiple csv.files with different size. I would
like to read them by using a for- loop and parallel by reading I need to add
a new column which can be specified by myself.
But my for-loop does not work !
Could somebody give me any idea ?
Many
9 matches
Mail list logo