Displaying 20 results from an estimated 20000 matches similar to: "Amap new release"
2011 Nov 10
0
amap new version (multidimensional analysis)
Dear R users,
Thanks to a new contributor, Luigi Cerulo, amap provides 2 more metrics,
and another agglomeration linkage for distance computation, and hierarchical
clustering.
The new centroid linkage method implemented in the cluster3
software tool (http://bonsai.hgc.jp/~mdehoon/software/cluster/software.htm).
In this method the pseudoitem of a cluster is computed as the average of
the items
2006 Jan 25
0
amap
Dear R users,
Version 0.7-1 of the amap package has been uploaded to CRAN.
Amap package includes standard hierarchical
clustering and k-means. We optimize implementation
(with a parallelized hierarchical clustering) and
allow the possibility of using different distances like
Eulidean or Spearman (rank-based metric).
We implement a principal component analysis (with robusts
2009 Mar 09
1
rcorr.cens Goodman-Kruskal gamma
Dear r-helpers!
I want to classify my vegetation data with hierachical cluster analysis.
My Dataset consist of Abundance-Values (Braun-Blanquet ordinal scale; ranked) for each plant species and relev?.
I found a lot of r-packages dealing with cluster analysis, but none of them is able to calculate a distance measure for ranked data.
Podani recommends the use of Goodman and Kruskals' Gamma for
2009 May 18
3
Runtime Error! Keep on happening while using amap, anacor and ca pckg
Hi there dear R users,
Does anyone have any idea what the following error means and how to sort
it out?
Runtime Error!
Program: C\Program Files\R\R-2.9.0\bin\Rgui.exe
This application has requested the Runtime to terminate it in an unusual
way. Please contact the application’s support team for more information.
Here is the story:
Running the same code, sometimes the error happens and other
2005 Jan 09
0
dist{amap} error??
Dear all,
I have come across a very confusing matter regarding dist() supplied by
the amap package:
--- m is just a test matrix
> library(amap)
Loading required package: mva
Warning message:
package 'mva' has been merged into 'stats'
> m a b c
aa 0.1 0.2 0.3
bb 2.0 3.0 4.0
cc 2.0 4.0 6.0
dd 0.3 0.2 0.1
> ds<-dist(m,method="pearson")
>
2001 Aug 21
1
difference between trees in R?
Hi.
I am wondering if anybody has studied and/or written code in R to
calculate the distance between 2 "trees". For example, if one does a
hierarchical agglomerative clustering and say, a hierachical divisive
clustering (represented as trees) and wishes to compute a metric on
them. I am thinking of something like the symmetric difference as
mentioned in Margush and McMorris (1982).
2005 Aug 13
1
R/S-Plus/SAS yield different results for Kendall-tau and Spearman nonparametric regression
Colleagues,
I ran some nonparametric regressions in R (run in RedHat Linux), then
a colleague repeated the analyses in SAS. When we obtained different
results, I tested S-Plus (same Linux box). And, got yet different
results. I replicated the results with a small dataset:
DATA:
37.5
23
37.5
13
25
16
25
12
100
15
12.5
19
50
20
100
13
100
10
100
10
100
16
50
10
87.5
2007 Jun 18
1
the way to look at all the codings of any functions
Dear SIr,
In case of looking at the codes of the fuction, "cov",
we find all the codings below. But, incase of "mean", we don't find
the contents.
Please show me the way to look at all the codings of any functions.
Best regards,
Kei
-----------------------
> cov
function (x, y = NULL, use = "all.obs", method = c("pearson",
2004 Mar 03
1
cor(..., method="spearman") or cor(..., method="kendall") (PR#6641)
Dear R maintainers,
R is great. Now that I have that out of the way, I believe I have
encountered a bug, or at least an inconsistency, in how Spearman and
Kendall rank correlations are handled. Specifically, cor() and
cor.test() do not produce the same answer when the data contain NAs.
cor() treats the NAs as data, while cor.test() eliminates them. The
option
use="complete.obs" has
2003 Dec 03
1
amap : hclust agglomeration
Hi,
I'm trying to understand the complete linkage method in hclust. Can anyone provide a breakdown of the formula (p9 of the pdf documentation) or tell me what the "sup" operator does/means?
thanks in advance
Tom
[[alternative HTML version deleted]]
2005 Aug 18
2
kendall tau correlation test for ties: Potential error (PR#8076)
Full_Name: Dirk Koschuetzki
Version: 2.1.1
OS: source code
Submission from: (NULL) (194.94.136.34)
Hello,
>From the source code (R-2.1.1, file: .../R-2.1.1/src/library/stats/R/)
******************************
cor.test.default <-
function(x, y, alternative = c("two.sided", "less", "greater"),
method = c("pearson", "kendall",
2005 Feb 13
1
Bug in cor function (PR#7689)
I can't hardly accept the result of cor function with
pairwize.colplete.obs or complete.obs
insert print statements in cor function,
+ if (method != "pearson") {
+ Rank <- function(u) if (is.matrix(u))
+ apply(u, 2, rank, na.last = "keep")
+ else rank(u, na.last = "keep")
+ x <- Rank(x)
+
2009 Aug 16
1
Printing the null hypothesis
Dear R developers,
Currently many (all?) test functions in R describe the alternative
hypothesis, but not the the null hypothesis being tested. For example,
cor.test:
> require(boot)
> data(mtcars)
> with(mtcars, cor.test(mpg, wt, met="kendall"))
Kendall's rank correlation tau
data: mpg and wt
z = -5.7981, p-value = 0.000000006706
alternative hypothesis: true tau is not
2003 Sep 11
1
rank(*) with NAs -- new option "keep" desired
In some contexts, I find the current behavior of rank() very
`suboptimal'.
We have the argument na.last = {TRUE | FALSE | NA }
where the first two cases treating NAs (almost) as if they were
== +Inf or == -Inf whereas the 3rd case just drops NAs.
For the typical ``Rank Transformation'' that is recommended in
EDA in several contexts, I would however want something else,
namely keep
2006 Apr 23
2
Reorganizing rows and columns
I'm sure this is a simple task, but how to do it has escaped me.
I have imported data from two separate files (each file contains the
results from an information retrieval algorithm) organized into a list.
They are organized by File,Query, and Rank (in that order):
[[1]]
Doc Query Rank
5 1 1
9 1 2
7 1 3
5 2 1
7 2 2
9 2 3
[[2]]
2006 May 24
0
the computation of exact p-value for the nonparametric cor-test with ties
Hello,
I wuold like to propose my modifications of the original cor.test to you : I
tried to calcolate the correct p-value for Spearman and Kendall's test with
ties.
Let me know what you think.
Thanks you for your time.
Antonietta di Salvatore
test <- function(x, ...) UseMethod("test")
test.default <-
function(x, y, alternative = c("two.sided",
2004 Oct 14
1
correlating between two vectors of numbers
Hi, R!
Question1:
I am trying to correlate two vectors of numbers (two columns of microarray
signal values) by using the non-parametric Spearman's rank correlation
coefficient rho:
> cor.test(V2.Signal,V3.Signal,method="spearman")
but I get the error message:
Error in if (q > (n^3 - n)/6) pspearman(q - 1, n, lower.tail = FALSE) else
pspearman(q, :
missing value
2010 Feb 08
2
Incorrect Kendall's tau for ordered variables (PR#14207)
Full_Name: Marek Ancukiewicz
Version: 2.10.1
OS: Linux
Submission from: (NULL) (74.0.49.2)
Both cor() and cor.test() incorrectly handle ordered variables with
method="kendall", cor() incorrectly handles ordered variables for
method="spearman" (method="person" always works correctly, while
method="spearman" works for cor.test, but not for cor()).
In
2004 Nov 18
2
how to rewrite this without a loop ?
Dear Rexperts,
First of all let me say that R is a wonderful and useful piece of
software.
The only thing is that sometimes it takes me a long time to find out how
something can be done, especially when aiming to write compact (and
efficient) code.
For instance, I have the following function (very rudimentary) which
takes a (very specific) data frame as input and for certain subsets
2004 Feb 01
2
3 little questions
> From: Siegfried.Macho
>
> Dear R-helpers,
>
> 3 questions:
> 1. Is there a package that contains a routine for computing
> Kendall's W
> (coefficient of concordance), with and without ties ?
Is that the same as Kendall's tau, as in cor(..., method="kendall")?
> 2. Is there a package that contains a routine for computing
> Goodman' s