Displaying 20 results from an estimated 2000 matches similar to: "Cluster analysis using EM algorithm"
2004 Apr 16
2
Masked help page
Hi list,
not really a problem to solve but a strange unwanted behavior (at least I
do not like it):
I'm loading
library(multiv)
to use sammon.
Later I load
library(MASS)
which tells me that sammon is masked now, because
there is also a MASS version of sammon.
Since I believe that the MASS version is at least as good as the multiv
version, I would also use the MASS version, but
help(sammon)
2004 Apr 08
2
How to draw a tree?
Hi,
I have run rpart to construct a regression tree. Is there any simple
method to draw a nice picture of it, as it is usually done in books and
paper to visualize the tree?
Thank you,
Christian
***********************************************************************
Christian Hennig
Fachbereich Mathematik-SPST/ZMS, Universitaet Hamburg
hennig at math.uni-hamburg.de,
2005 Feb 21
4
49 histograms on one page
Hi,
I want to do something like this:
par(mfrow=c(7,7))
for (i in 1:49)
hist(RATDACOM[SUBJNO==i],breaks=0.5+(0:6),
main="",xlab="",ylab="",xaxt="n",yaxt="n")
(Don't think about what RATDACOM and SUBJNO are.)
I get an error
Error in plot.new() : Figure margins too large.
36 histograms with mfrow=c(6,6) work.
But the 36 histograms
2002 Aug 07
2
cluster-analysis and NA's
Hi,
exist a special cluster-analysis algorithms
which can work with NA's.
a further "problem" is that i want cluster
variables not cases to identify special variable-set's.
Is it a common way turn the data.frame and use
kmeans,because this works with NA's, or have anybody another
method for finding "variable-sets" , with exception of factor analysis.
thanks for
2003 Jul 30
1
Number of components in a mixture model
Dear all,
I'm fitting a set of length-of-stay data by a model of mixture of
exponentials. I've been following the example on page 436 in MASS (5th Ed.).
However, I have a couple of questions while following this example.
What if we don't know how many components there are in the model in advance.
Is there any established method to determine the number of components from a
set of
2003 Feb 06
1
svm
Hello list,
I want to apply svm from library e1071, and I want to supply class weights.
I do not really understand the help entry (and there is no example)
class.weights: a named vector of weights for the different classes,
used for asymetric class sizes. Not all factor levels have to
be supplied (default weight: 1). All components have to be
named.
I have two
2003 Oct 07
4
Installing R with all packages
Hi,
I want R to be installed on a UNIX network (Solaris). I am not the system
administrator and so I cannot do it myself.
The system administrator wants to know which packages I want, and it may be
a lot.
Is there an easy way to download and install all packages at once?
Is it a good idea? (There is a good chance that I do not need the some
few packages that do not install well during such a
2004 Jun 29
1
Goodness of fit test for estimated distribution
Hi,
is there any method for goodness of fit testing of an (as general as
possible) univariate distribution with parameters estimated, for normal,
exponential, gamma distributions, say (e.g. the corrected p-values for
the Kolmogorov-Smirnov or Chi-squared with corresponding ML estimation
method)?
It seems that neither ks.test nor chisq.test handle estimated parameters.
I am aware of function
2005 Jan 17
3
How do I format something as "0.000"?
Hi,
I would like to use the format function to get numbers all with three
digits to the right of the decimal point, even in cases where there is no
significant digit left. For example, I would like to get
c(0.3456789,0.0000053) as "0.346" "0.000".
It seems that it is not possible to force format to print a "0.000", i.e.
without any significant decimal places.
Is it
2004 Jan 20
1
random forest question
Hi,
here are three results of random forest (version 4.0-1).
The results seem to be more or less the same which is strange because I
changed the classwt.
I hoped that for example classwt=c(0.45,0.1,0.45) would result in fewer
cases classified as class 2. Did I understand something wrong?
Christian
x1rf <- randomForest(x=as.data.frame(mfilters[cvtrain,]),
2002 Aug 06
1
Rd: more than one list
Dear group,
I would like to document more than one function on one help page using the
Rd language. I tried something like
\value{
\code{foo1} returns a list with components
\item{arg1}{Argument 1}
\item{arg2}{Argument 2}
\code{foo2} returns a list with components
\item{arg3}{Argument 3}
\item{arg4}{Argument 4}
}
Unfortunately this makes the text
"\code{foo2} returns a list
2004 Jan 19
1
qda problem
Hi,
the following strange error appears when I use qda:
> qda1 <- qda(as.data.frame(mfilters[cvtrain,]),as.factor(traingroups))
Error: function is not a closure
That's also strange:
> qda1 <- qda(mfilters[cvtrain,],as.factor(traingroups))
Error in qda.default(mfilters[cvtrain, ], as.factor(traingroups)) :
length of dimnames must match that of dims
Some backgroud:
>
2002 Feb 14
1
Subsets in mclust
Dear group,
I want to use the mclust package on large data, and therefore I want to use
a subset in the initial clustering phase. From help(mclust):
k: If `k' is specified, the hierarchical clustering phase will
use a sample of size `k' of the data in the initial
hierarchical clustering phase. The default is to use the
entire data set.
m2 is a
2003 Mar 07
1
Cluster analysis
Hello,
I would like to calculate a cluster analysis and I use the function 'hclust'.
I have seen the GRAPHICAL results of this function with 'plot'.
I would like to analyse this cluster but I don't know how to see the NUMERICAL results of each
step of this cluster like:
- R Squared
- Pseudo F
- Pseudo t**2
Thank you for any help,
Pierre-Olivier Chasset
=====
Pierre-Olivier
2003 Apr 23
1
clustering
Dear R-users,
I have a two - dimensional data set which needs to be clustered into
groups:
I'm searching for groups of points which show a positive
correlation (in a twodimensional plot of the data set), but I do not have
any knowledge about how many groups there might be.
Do you know of a clustering algorithm in R (or
in general) which can use a-priori information about the cluster's
2002 Nov 05
2
Canonical variates
Hi,
Does anybody know some package or function that computes
canonical variates?
Luis & Janete
--------------------------------------------
sapo.pt/kitadsl
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the
2004 May 04
1
spdep question
Dear list,
(also sent to Roger Bivand, but perhaps somebody of you can help me also)
I am trying to use package spdep for fitting an SAR model with errorsarlm.
However, I am not sure how to make a valid nb object out of my
neighborhood. As far as I have seen, there is no documentation for
nb.object.
I have done the following:
class(pschmid$nb) <- "nb"
# pschmid is a prab object as
2002 Apr 09
1
Mixture Modeling in R
<FONT face="Default Sans Serif, Verdana, Arial, Helvetica, sans-serif" size=2><div>I was wondering if anyone knew there are functions to do mixture modeling in R.</div><DIV> </DIV><DIV>Many thanks in advance,</DIV><DIV>Peter
2002 Oct 22
1
Gaussian Mixture Models
Hey,
Dose R include some package for Gaussian Mixture Model data generation and
parameters estimation?
Now I want to assign lots of multivariate data into a GMM model.
So just wondering if given sample data, can we use
some functions to estimate the compoents' density
function.
Thanks for your support.
Fred
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
2003 May 07
1
-means, hybrid clustering or similar implementations on R
Hi,
I would like to know if someone knows an extended implementation of k-means in R to find appropriate number of clusters for a given k-dimensional data.
Also, I am working on clustering for forecasting, if someone is interested or has knowledge on implementational details please mail me, I would appreciate it.
Regards
Skanda Kallur
"Cogito, ergo sum" (I think, therefore I