Displaying 20 results from an estimated 6000 matches similar to: "Selecting closest values"
2004 Feb 13
3
Calculate Closest 5 Cases?
I've only begun investigating R as a substitute for SPSS.
I have a need to identify for each CASE the closest (or most similar) 5
other CASES (not including itself as it is automatically the closest). I
have a fairly large matrix (50000 cases by 50 vars). In SPSS, I can use Correlate > Distances to generate a matrix of similarity, but only on a small sample. The entire matrix can not
2008 Mar 20
2
DO NOT REPLY [Bug 5343] New: rsync does nothing after first time
https://bugzilla.samba.org/show_bug.cgi?id=5343
Summary: rsync does nothing after first time
Product: rsync
Version: 3.0.0
Platform: IA64
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P3
Component: core
AssignedTo: wayned@samba.org
ReportedBy: rolmol@broadpark.no
2008 Jul 09
4
Find the closest value in a list or matrix
I have a long list of numbers [3.4,5.4,3.67,....], and I basically want to
find the index of the number closest to this number that I have, let's say
5.43. How would I do this without writing a for loop (I have to do this many
times for several lists)? Is there a "lookup" function in R?
Thanks!
--
View this message in context:
2013 Apr 11
2
Encircle the closest points
Dear R-user,
For the "matplot" of the following data drawn by
>matplot(t, pch=1)
structure(c(2372L, 2494L, 2170L, 2238L, 1918L, 715L, 1573L, 2437L, 2481L, 1881L, 440L, 2165L, 343L, 121L, 597L, 1163L, 1459L, 2093L, 1454L, 1761L, 1872L, 174L, 2040L, 552L, 1403L, 6381L, 1649L, 4136L, 4415L, 10650L, 12111L, 4397L, 9593L, 7040L, 3888L, 8340L, 11475L, 11413L, 3985L, 1077L, 7723L, 1392L,
2003 Jan 23
2
Really bad Read performance
Running Samba 2.2.7, compiled with LDAP support. I'm suffering from really
poor read performance problems on the server. Write speed is fine (after
adding "interface = <ip of eth0>/24"), giving about 4.4 MB/s. However,
reading files from the samba shares is just not usable. Reading a large (34
MB) file from the server takes more than 3 minutes on a W2K Pro client.
NIC on both
2017 Jun 04
3
CentOS 7 install: closest mirror not supported?
Hi,
Do CentOS 7 installs not automatically use a closest mirror for
installing like Fedora does, or is that due to the way I'm starting
the install (virt-install)?
Background:
I'm trying to find the best way to do installs using basic local media
(network install, but *without* the need to download the squashfs.img
for every install) but without a full local mirror. On Fedora (25),
it
2010 Jan 17
3
enty-wise closest element
Dear R-users,
i have a simple problem maybe, but i don't see the solution. i want to
find the entry-wise closest element of an vector compared with another.
ind1<-c(1,4,10)
ind2<-c(3,5,11)
for (i in length(ind2):1)
{
print(which.min(abs(ind1-ind2[i])))
}
for ind2[3] it should be ind1[3] 10, for ind2[2] it should be ind1[2] 4
and for ind2[1] it should be ind1[1] 1. but with the
2008 Aug 26
2
String search: Return "closest" match
Hi,
I have to match names where names can be recorded with errors or additions.
Now I am searching for a string search function which returns always the "closest" match. E.g. searching for "Washington" it should return only Washington but not Washington, D.C. But it also could be that the list contains only "Hamburg" but the record I am searching for is
2002 Mar 28
3
Vectorizing closest match
If anyone has a very fast vectorized method for doing the following I would appreciate some help. I want to avoid outer() to limit memory problems for very large n.
Let
x = real vector of length n
y = real vector of length n
w = real vector of length m, m typically less than n/2 but can be > n
z = real vector of length m
For w[i], i=1,,,m, find the value of x that is closest to w[i]. In
2008 Aug 27
3
Closest value
Hello,
I have this command:
x.axis <- seq(from=0.5, to=4.5, length.out=13112)
How can I which of the x.axis components is the closest to a given
value, for example 3.2?
Best,
Dani
--
Daniel Valverde Saub?
Grup de Biologia Molecular de Llevats
Facultat de Veterin?ria de la Universitat Aut?noma de Barcelona
Edifici V, Campus UAB
08193 Cerdanyola del Vall?s- SPAIN
Centro de Investigaci?n
2004 Feb 13
3
Re: Re: Find Closest 5 Cases?
Art (and group),
I'm doing this as a form of missing value analysis. Approximately 30% of the cases are missing data for one variable. To impute values for those cases, I'd like to match those cases that are missing the variable to all other cases and then take an average of those to infill.
I realize there are many methods for imputing data. I'm not well versed on any in
2010 May 01
2
closest match in R to c-like struct?
Hello,
What would be in R the closest match to a c-struct? e.g. data.frame requires all elements to be of the same length ... or is there a way to circumvent this?
TIA,
Best regards,
Giovanni
2008 Apr 18
3
Closest Fedora to CentOS 4?
Hi, I want to take a SRPM that is available for various versions of Fedora
and rebuild it on a CentOS 4 system.
Which release of Fedora is the closest to CentOS 4? In other words, which
would be the best FC to take the SRPM for?
Cheers
Tony
--
Tony Mountifield
Work: tony at softins.co.uk - http://www.softins.co.uk
Play: tony at mountifield.org - http://tony.mountifield.org
2006 Aug 12
9
Finding the closest match?
I am trying to do a search for a crazy problem. Anyways, the search can
only contain one word and the database it''s searching contains one word
per row. Basically if someone tries to search for a word I want to find
the closest match.
Ex:
If someone types "cat" and "cat" is not in my database, but "bat" is,
how could I select bat?
Also, if someone
2007 Jan 06
2
can samba figure out the "closest" domain controller in ADS mode?
I'v got working Samba ADS servers, but "net ads info" shows most of them
are associated with Win2K3 domain controllers that are in different
sites than the ones the Samba servers are in (we have a large WAN with
DCs in every site). I'm not configuring "password server" as I want
Samba to be more fault tolerant than pointing it at one DC - when there
are many to choose
2009 Oct 10
2
Matching Dates Closest without going over
Hi,
I have 2 date vectors d1 and d2.
d1 <- structure(c(14526, 14495, 14464, 14433, 14402, 14371, 14340, 14309,
14278, 14247, 14216, 14185), class = "Date")
d2 <- structure(c(14526, 14509, 14488, 14466, 14453, 14441, 14396, 14388,
14343, 14333, 14310, 14281), class = "Date")
I would like to create another dataframe with columns d1 and d2, where d1 is
the original d1
2013 Jun 18
2
find closest value in a vector based on another vector values
Dear All,
would you please provide your thoughts on the following:
let us say I have:
a <-c(1,5,8,15,32,69)
b <-c(8.5,33)
and I would like to extract from "a" the two values that are closest to the values in "b", where the length of this vectors may change but b will allways be shorter than "a". So at the end based on this example I should have the result
2008 Feb 06
3
Reconstruct disklabel for UFS and GELI volumes
Hi,
Somehow[TM] an installation of 4.11 to ad0s3 managed to wipe out my
existing disklabel for 7.0 on ad0s4. I now need to recover the
disklabel to get my system to boot!
There were three labels
- ad0s4a: UFS, exact size unknown. Is it possible to infer this from
the UFS partition size? I can mount this already, as I simply wrote an
'a' label of maximum size to the disklabel
- ad0s4b:
2009 Apr 08
1
uchcom and RELENG_7?
Hi,
Is there any reason why uchcom[1] hasn't been MFC'ed to RELENG_7 yet?
I see discussion[2] about this subject as far back as around
7.0-release, but I can't find any uchcom.c files in my src, not even
for latest RELENG_7.
References:
1) http://www.freebsd.org/cgi/man.cgi?query=uchcom&apropos=0&sektion=0&manpath=FreeBSD+8-current&format=html
2)
2004 Feb 19
2
R won't start
Hi,
I have a problem with R; it won't start! I've installed it fine, no problems, but when I try to run it the mouse cursor changes to an hourglass for 1 second and back to normal, and that's it, it doesn't start up.
No error messages or nothing.
I run Windows XP Pro. by the way.
I'd be thankful for any help.
[[alternative HTML version deleted]]