similar to: R - how to measure the distance?

Displaying 20 results from an estimated 2000 matches similar to: "R - how to measure the distance?"

2009 Sep 03
1
Output from as.windrose() in oce package baffles me
I'm having trouble understanding the output from as.windrose(). For one thing, data on a boundary between sectors seem to be left out of the counts. I assume that explains the missing point in the output below (angle 45). Shouldn't one side of each sector interval be open, to include values such as my 45 in the example? Also, why does the angle 180 in my input apparently not result in
2001 Nov 28
2
Problem with printer driver sharing Win2k klients.
Hi... I got this new server at work that I have to get 100% up and running by tomorrow. It's running Samba 2.2.1a on SuSE 7.3 Pro It's supposed to be VPN - File and Printer Server The printers are: One OCE 700C / CS90 color copier and One OCE 3165 And there is only one problem left. I can install the printer drivers for Win9x & NT on the samba server. But I can't figure out how to
2013 Jul 10
2
ASRock B85M Pro4 micro-ATX Motherboard Supports VT-d!!!
Hi, I have just upgraded my computer to Intel Core i5-4430 Quad Core @ 3.0 GHz (supports VT-d), ASRock B85M Pro4 micro-ATX LGA1150 motherboard (supports VT-d), 8 GB Kingston DDR3-1600 memory and Cooler Master Elite 311 ATX casing (all for SGD$501). I made my computer upgrade on Independence Day 4th July 2013. I have also flashed the UEFI BIOS of ASRock B85M Pro4 motherboard to version 1.50.
2007 May 24
1
"[RODBC] ERROR: Could not SQLExecDirect"
Hi, everyone, I try to run as follows: Z>library("RODBC") Z>cnct<-odbcConnectExcel("Forbes2000.xls") Z>cnct RODB Connection 1 Details: case=nochange DBQ=C:\Program Files\R\R-2.5.0\Forbes2000.xls DefaultDir=C:\Program Files\R\R-2.5.0 Driver={Microsoft Excel Driver (*.xls)} DriverId=790 MaxBufferSize=2048 PageTimeout=5 Z>sqlQuery(cnct, "select
2009 Jan 12
4
fitting curve to data
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I have the following data: > y [1] 0.000 0.004 0.008 0.016 0.024 0.032 0.044 0.064 0.072 0.088 0.108 0.140 [13] 0.156 0.180 0.208 0.236 0.264 0.296 0.320 0.360 0.408 0.444 0.472 0.524 [25] 0.576 > x [1] 100 200 300 400 500 600 700 800 900 1000 1100 1200 1300 1400 1500 [16] 1600 1700 1800 1900 2000 2100 2200 2300 2400 2500 I'd
2010 Jan 27
2
Bulk Match/Replace
This must be easy to do..... I have a vector and a lookup data.frame: > v [1] "5" "234" "234" "42-43" "234" "42-43" "234" "234" "42-43" "234" "5" "234" "234" "5" "234" "234" "5"
2004 Jan 30
1
How to create own distance measure in cluster ?
Hi everyone, I want to create my own distance measure, other than 'euclidean' or 'manhatan', to use in cluster pckgs. To do this I think that I need to change dist(), in mva pckg, or daisy(), in cluster pckg. (or is there a cleaver way ?) But this functions are in fact things like: .Fortran( "daisy", ... ) or .C("dist",...). I tried unsuccessfully to find
2013 Jul 18
1
binary distance measure of the "dist" function in the "stats" package
Dear all: I want to ask question about "binary" distance measure. As far as I know, there are many binary distance measures,eg, binary Jarcad distance, binary euclidean distance, and binary Bray-Curtis distance,etc. It is even more confusing because many have more than one name. So , I wan to know what the definite name of the binary distance measure of the "dist" function
2011 Apr 11
3
Geographic distance between lat-long points in R?
Dear R, I have a bunch of geographic locations specified by lat-long coordinates. What's an easy way to calculate geographic distance between any two points? OR, perhaps there is a function for calculating a distance matrix for K sites? Sincerely, Scott Chamberlain [[alternative HTML version deleted]]
2010 Apr 23
0
A distance measure between top-k list
Hi folks, Here is the problem. I am giving an example .I want to find a measure of similarity or dissimilarity among ranking (of students of a same class of size say 50)by two judges. But instead of observing the rank of all the 50 students (Where we could have used rank correlation measures)in each case what I have is 2 list of top 20 students chosen by each judge. The following paper gives out
2012 Feb 23
1
Using R to read Nortek Aquadopp Profiler
Hello, I have current data from a nortek ADP, which is basically current speed and direction data in a 3 dimensional X Y Z format http://www.nortekusa.com/usa/products/current-profilers/aquadopp-profiler-1 The instrument logs data in a complex way and I was wondering if anyone has had any experience using R to at least read the data, and perhaps smooth it as well. If so, are there any
2009 Jan 07
2
Memory Efficiency of Symmetric Matrix
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I'm generating a symmetric correlation matrix using a data matrix as input: mat <- cor(data.mat) My question is: Is there a more memory efficient way to store this data? For instance, since: all(mat == t(mat)) every value is duplicated, and I should be able to almost half the memory usage for large matrices. Any thoughts/comments? Cheers,
2001 Nov 28
17
problem of access with files accentuated
I need of helps for do backup of a server windows2000(english). In the files accentuated, presents to following message: ERRDOS - ERRbadfile (File not found.) opening remote file \f\adm\Arquivos diversos e tempor rios\Tabela Master de Importaao.xls (\f\adm\Arquivos diversos e temporarios\ They are more of 60 pages with this message. When I rename the name of the file to without accent, it
2007 Feb 22
2
Combining tapply() and cor.test()?
Hello, fellow R-users. Let me describe the setup first. I have a data.frame, a sample of which is reported below: Company.Name Periods Returns MFR.Factor 350 Wartsila Oyj A 1996-07-31 6.82 0.02 351 Custodia Holding AG 1996-07-31 4.15 -0.02 352 Wartsila Oyj 1996-07-31 7.73 0.09 353 GEA Group AG
2010 Jul 20
1
p-values pvclust maximum distance measure
Hi, I am new to clustering and was wondering why pvclust using "maximum" as distance measure nearly always results in p-values above 95%. I wrote an example programme which demonstrates this effect. I uploaded a PDF showing the results Here is the code which produces the PDF file: ------------------------------------------------------------------------------------- s <-
2002 Nov 21
1
Distance between points and a polygon?
Dear R users, I know that this could easily be solved within a GIS-package, but sometimes it's more convenient to use R. So here's my question anyway... Does anyone of you know about any R-functions/code that calculates the distance between a number points and a polygon or polyline? I have looked thru the different libraries that deals with spatial statistics but haven't found
2008 May 19
2
Draw Polygon with a Circular Side
Hello Friends!!! I would want draw a circular histogram, and I would like draw a polygon with a circular side. This is easy if I use the functions polygon and arc, but I want that the polygon with a circular side have background colour. The polygon created with function polygon can have background colour, but the surface created with function arc can?t have background colour. How I could create a
1998 Apr 23
8
Login problem
Hi , I have a problem with NT 4.0 workstation with service pack 3 cant able to login to hp system. From FAQ what i understood is to modify the registry but even after modifying i couldn't able to login from NT 4.0 workstation. Can anybody can able to help me in this matter. Thx Ramesh -- ___________________________ Ramesh Ragineni Ilog (s) Pte Ltd Systems Engineer
2010 Aug 18
6
How to measure correlations in terms of distance and draw them on a 2-dimmentional plot?
Hi, Suppose I have n variables, X1, X2, ..., Xn and want to visualize the pairwise correlations on a 2-dimmensional plot. In particular, I plan to mark down n dots on a piece of paper and dot i represents Xi, in a way such that the highly correlated variables are placed closer; that is, shorter the distance between two dots the higher the correlation are between two corresponding variables. Do
2013 Apr 15
2
nearest stations in distance matrix
Dear R-user, Is there a way in R to locate the nearest 5 indices to a station, based on distances in a distance matrix. In other words i want to have nearest stations based on the distances in the matrix. The distance matrix, i have, has dimension 44*44. Thankyou very much in advance Elisa [[alternative HTML version deleted]]