Displaying 4 results from an estimated 4 matches for "dist3".
Did you mean:
dist
2004 Oct 01
3
Reading multiple files into R
...Reading individual files one by one requires writing enormous amount of
code that will look something like the following.
****************
maptools:::dbf.read("wb-01vc.dbf")->dist1
maptools:::dbf.read("wb-02vc.dbf")->dist2
maptools:::dbf.read("wb-03vc.dbf")->dist3
maptools:::dbf.read("wb-04vc.dbf")->dist4
maptools:::dbf.read("wb-05vc.dbf")->dist5
maptools:::dbf.read("wb-06vc.dbf")->dist6
maptools:::dbf.read("wb-07vc.dbf")->dist7
maptools:::dbf.read("wb-08vc.dbf")->dist8
maptools:::dbf.read(&quo...
2010 May 11
2
question about R
Hi,
At each iteration in my program,I need to generate tree vectors,X1,X2,X3,
from exponential distribution with parameters a1,a2,a3. Can you help me
please how can I do it such that it take a little time?
thank you
khazaei
2006 Mar 08
1
function gdist, dist and vegdist in mvpart
...rownames, variables, varnames, extras,
extranames, :
Variable lengths differ
When computing the matrices directly...
ba12.dist1 <- gdist (ba12[,18:29], method="maximum", full=T, sq=F)
ba12.dist2 <- vegdist (ba12[,18:29], method="jaccard", diag=T, upper=T)
ba12.dist3 <- dist (ba12[,18:29], method="minkowski", p=1, diag=T, upper=T)
and looking at them, there appears to be no difference though only
ba12.dist1 works with mvpart. With the other two I get the same error
message as above.
What I am missing? Where is the problem?
Thanks for helping....
2006 Nov 30
3
newbie: new_data_frame <- selected set of rows
Hello,
this is probably trivial but I failed to find this
particular snippet of code.
What I got:
my_dataframe (contains say a 40k rows and 4 columns)
distances (vector with euclidean distances between a
query vector and each of the rows of my_dataframe)
What I do:
after scaling data my_dataframe I calculate distances.
order them then extract top five hits
my_dataframe <-