Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Sylvain Jasson
amap
Commits
030589e1
Commit
030589e1
authored
Feb 26, 2014
by
Antoine Lucas
Browse files
Version 0-8-11
parent
cc60be78
Changes
5
Hide whitespace changes
Inline
Side-by-side
Changes
View file @
030589e1
Wed
Feb
26
2014
*
remove
DUP
=
FALSE
in
.
C
call
.
Tue
Dec
03
2013
*
remove
[
again
]
printf
in
C
++
code
...
...
DESCRIPTION
View file @
030589e1
Package: amap
Version: 0.8-1
0
Version: 0.8-1
1
Date: 2013-12-13
Title: Another Multidimensional Analysis Package
Author: Antoine Lucas
...
...
R/dist.R
View file @
030589e1
...
...
@@ -29,7 +29,6 @@ Dist <- function(x, method="euclidean", nbproc = 2, diag=FALSE, upper=FALSE)
method
=
as.integer
(
method
),
nbproc
=
as.integer
(
nbproc
),
ierr
=
as.integer
(
0
),
DUP
=
FALSE
,
NAOK
=
TRUE
,
PACKAGE
=
"amap"
)
$
d
...
...
R/hcluster.R
View file @
030589e1
## Hierarchical clustering
##
## Created : 18/11/02
## Last Modified : Time-stamp: <201
1-11-04 22:55:20
antoine>
## Last Modified : Time-stamp: <201
4-02-26 19:03:13
antoine>
##
## This function is a "mix" of function dist and function hclust.
##
...
...
@@ -67,7 +67,6 @@ hclusterpar <- hcluster <- function (x, method = "euclidean", diag = FALSE, uppe
nbprocess
=
as.integer
(
nbproc
),
precision
=
as.integer
(
precision
),
res
=
as.integer
(
1
),
DUP
=
FALSE
,
NAOK
=
TRUE
,
PACKAGE
=
"amap"
)
...
...
tests/amap-test.Rout.save
View file @
030589e1
R Under development (unstable) (201
3-11-22 r64286
) -- "Unsuffered Consequences"
Copyright (C) 201
3
The R Foundation for Statistical Computing
R Under development (unstable) (201
4-02-24 r65073
) -- "Unsuffered Consequences"
Copyright (C) 201
4
The R Foundation for Statistical Computing
Platform: x86_64-unknown-linux-gnu (64-bit)
R
est un logiciel libre livré sans AUCUNE GA
RANT
IE
.
V
ou
s pouvez le redistribuer sous
certain
es
conditions.
T
a
pe
z
'license()' o
u
'licence()'
pour plus de dé
tails.
R
is free software and comes with ABSOLUTELY NO WAR
RANT
Y
.
Y
ou
are welcome to redistribute it under
certain conditions.
T
y
pe 'license()' o
r
'licence()'
for distribution de
tails.
R
est un projet collaboratif avec de nombreux
contribut
eu
rs.
T
a
pe
z
'contributors()'
pour plus d'
information
et
'citation()'
pour la façon de le citer dans les
publications.
R
is a collaborative project with many
contribut
o
rs.
T
y
pe 'contributors()'
for more
information
and
'citation()'
on how to cite R or R packages in
publications.
T
a
pe
z
'demo()'
pour des
d
é
mo
nstration
s, 'help()'
pour l'aide
en ligne ou
'help.start()'
pour obtenir l'aide au format HTML
.
T
a
pe
z
'q()'
pour
quit
ter
R.
T
y
pe 'demo()'
for some
d
e
mos, 'help()'
for on-line help, or
'help.start()'
for an HTML browser interface to help
.
T
y
pe 'q()'
to
quit R.
>
> library(amap)
...
...
@@ -6354,6 +6354,10 @@ Cluster method : centroid2
Distance : abscorrelation
Number of objects: 50
Warning messages:
1: empty cluster: try a better set of initial centers
2: empty cluster: try a better set of initial centers
3: empty cluster: try a better set of initial centers
>
> hc <- hcluster(USArrests, nbproc=1)
> print(hc)
...
...
@@ -6422,3 +6426,6 @@ Eigen values:
[1] 3.2817172 1.0106413 0.4610868 0.3944977
>
>
> proc.time()
user system elapsed
2.250 0.700 2.876
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment