similar to: Fw: Summary for Distance matrix by cosine?

Displaying 20 results from an estimated 120 matches similar to: "Fw: Summary for Distance matrix by cosine?"

2006 Apr 19
3
isoMDS and 0 distances
Hi, I'm trying to do a non-metric multidimensional scaling using isoMDS. However, I have some '0' distances in my data, and I'm not sure how to deal with them. I'd rather not drop rows from the original data, as I am comparing several datasets (morphology and molecular data) for the same individuals, and it's interesting to see how much morphological variation can be
2008 Apr 01
1
lrm -interaction without main effect-error message
Dear all, this might be not only an R-question but also a statistical. When I do a logistic regression analysis (species distribution modeling) with function lrm (Design package) I get the follwoing error message: > tadl1<-lrm(triad~fd+dista+fd2+dista2+fd:dista+dista:geo2, x=T, y=T) Error in if (!length(fname) || !any(fname == zname)) { : missing value where TRUE/FALSE needed The
2009 Feb 08
2
Strange behavior of C compiled program
Hi the list, I need to include some C code in R, but the behavior of the C code is strange : Here is my code : --- 8< --- Rprintf("\n XXXX mTraj=%f mClus=%f",mTraj[i+nbId*c],mClustersCenter[j+nbClusters*c]); Rprintf("\nDistA=%d Tmp=%d",dist,tmp); tmp = mTraj[i+nbId* c] - mClustersCenter [j+nbClusters* c]; Rprintf("\nDistB=%d
2010 May 27
2
clustering in R
i have a matrix with the following dimensions 136 3 and it looks something like [,1] [,2] [,3] [1,] 402 675 1.802758 [2,] 402 696 1.938902 [3,] 402 699 1.994253 [4,] 402 945 1.898619 [5,] 424 470 1.812857 [6,] 424 905 1.816345 [7,] 470 905 1.871252 [8,] 504 780 1.958191 [9,] 504 848 1.997111...............
2002 Jan 09
1
Distance matrix by cosine?
Hello, a. is there a possibility to obtain a distance matrix with the cosine between vectors?? hclust, hierclust, dist will not work and seem to be hard to extend. b. if there is not: Is the cosine between vectors implemented somewhere? Thanks for all hints and advice! Petra Steiner -------------- next part -------------- An HTML attachment was scrubbed... URL:
1999 Dec 01
1
density(kernel = "cosine") .. the `wrong cosine' ..
I'm in teaching mode, kernel densities. {History: density() was newly introduced in version 0.15, 19 Dec 1996; most probably by Ross or Robert } When I was telling the students about different kernels (and why their choice is not so important, and "equivalent bandwidths" etc,etc) I wondered about the "Cosine" in my teaching notes which is defined there as k(x)
2000 Mar 09
0
cosine and sine
Excuse me if this is has been discussed before, but, How can I make the cos(pi/2) = 0 (instead of on my machine 6.123234e-17) and the sin(pi) = 0 (instead of 1.224647e-16 on my machine) ? I'd like sin(pi) == 0 to return TRUE, and is zapsmall appropriate here? -------------- next part -------------- A non-text attachment was scrubbed... Name: brian.vcf Type: text/x-vcard Size: 411 bytes Desc:
2001 Jun 10
0
Modified discrete cosine transform
I am trying to learn something of the algorithms used in Vorbis. One of them is the "Modified Discrete Cosine Transform" (MDCT). I have found a couple of books with brief descriptions of the DCT, but almost nothing about MDCT. (1) is there just one Modified DCT, which can be expected to be the same whenever someone uses that name, or does it just mean that you have changed
2017 Jun 21
0
fitting cosine curve
Thanks. I will do a trial first. Also, is it okay to have the datasets that have only part of the cycle, or better to have equal or more than one cycle? That is to say, I cannot have the complete datasets sometimes. On Tue, Jun 20, 2017 at 7:37 PM, Don Cohen <don-r-help at isis.cs3-inc.com> wrote: > > If you know the period and want to fit phase and amplitude, this is > equivalent
2012 Nov 26
1
cosine curve fit
does anybody have a suggestion as to how to use R to fit some date to a cosine function and then have some output statistics that will evaluate the fit? -- View this message in context: http://r.789695.n4.nabble.com/cosine-curve-fit-tp4650866.html Sent from the R help mailing list archive at Nabble.com.
2024 Mar 26
1
core & cosine schema items in Samba AD DC user object?
Please, it is possible (perhaps with some Samba schema extension?) to have items as 'c' (countryName), 'l' (localityName), 'l' (localityName), 'co' (friendlyCountryName), 'street' (streetAddress), 'displayName' etc. in the description of the USER object? And then how to manage them? The "samba-tool user add" doesn't seem to have a
2024 Mar 26
1
core & cosine schema items in Samba AD DC user object?
On Tue, 26 Mar 2024 17:13:34 +0100 Franta Hanzl?k <franta at hanzlici.cz> wrote: > > Yes, that's how I understood it later. > But what surprised me is that an object ("user" class in this case) > can be assigned any imaginary attribute - I thought that the Samba > AD schema strictly limits what objects and with what attributes can > be in the AD. But maybe
2012 Feb 23
1
Problems with Cosine Similarity using library(lsa)
Hi everybody! I have intended to use library(lsa) on R 64-bits for Windows but it was not possible. Every time I try to launch library(lsa) function R give me back next message: Loading required package: SnowballError : .onLoad failed in loadNamespace() for 'Snowball', details: call: NULL error: .onLoad failed in loadNamespace() for 'rJava', details: call: stop("No
2017 Jun 20
0
fitting cosine curve
Hi lily, You can get fairly good starting values just by eyeballing the curves: plot(y) lines(supsmu(1:20,y)) lines(0.6*cos((1:20)/3+0.6*pi)+17.2) Jim On Wed, Jun 21, 2017 at 9:17 AM, lily li <chocold12 at gmail.com> wrote: > Hi R users, > > I have a question about fitting a cosine curve. I don't know how to set the > approximate starting values. Besides, does the method
2017 Jun 21
1
fitting cosine curve
If you know the period and want to fit phase and amplitude, this is equivalent to fitting a * sin + b * cos > >>> > I don't know how to set the approximate starting values. I'm not sure what you meant by that, but I suspect it's related to phase and amplitude. > >>> > Besides, does the method work for sine curve as well? sin is the same as cos with
2017 Jun 21
0
fitting cosine curve
I'm trying the different parameters, but don't know what the error is: Error in nlsModel(formula, mf, start, wts) : singular gradient matrix at initial parameter estimates Thanks for any suggestions. On Tue, Jun 20, 2017 at 7:37 PM, Don Cohen <don-r-help at isis.cs3-inc.com> wrote: > > If you know the period and want to fit phase and amplitude, this is > equivalent to
2024 Mar 26
1
core & cosine schema items in Samba AD DC user object?
On Tue, 26 Mar 2024 14:49:02 +0000 Rowland Penny via samba <samba at lists.samba.org> wrote: > On Tue, 26 Mar 2024 14:50:41 +0100 > Franta Hanzl?k <franta at hanzlici.cz> wrote: > > > On Tue, 26 Mar 2024 08:01:27 +0000 > > Rowland Penny via samba <samba at lists.samba.org> wrote: > > > > > On Tue, 26 Mar 2024 02:57:51 +0100 > > >
2017 Jun 21
2
fitting cosine curve
What I did was to plot your initial values, then plot the smoothed values and guess the constants. That is, I got an "eyeball" fit to the smoothed values. As I have described this as "gross cheating" in the past, you should either split your data, estimate on one subset and then test on another, or estimate on your data and test on a replication. If you get pretty much the same
2024 Mar 26
2
core & cosine schema items in Samba AD DC user object?
On Tue, 26 Mar 2024 02:57:51 +0100 Franta Hanzl?k via samba <samba at lists.samba.org> wrote: > Please, it is possible (perhaps with some Samba schema extension?) to > have items as 'c' (countryName), 'l' (localityName), 'l' > (localityName), 'co' (friendlyCountryName), 'street' (streetAddress), > 'displayName' etc. in the
2024 Mar 26
1
core & cosine schema items in Samba AD DC user object?
On Tue, 26 Mar 2024 08:01:27 +0000 Rowland Penny via samba <samba at lists.samba.org> wrote: > On Tue, 26 Mar 2024 02:57:51 +0100 > Franta Hanzl?k via samba <samba at lists.samba.org> wrote: > > > Please, it is possible (perhaps with some Samba schema extension?) to > > have items as 'c' (countryName), 'l' (localityName), 'l' > >