Displaying 2 results from an estimated 2 matches for "irisclass".
2004 Oct 19
1
Error message in mclust
I keep on receiving the message below after submitting the following line
using the mclust package. m2 is a 99 X 1 column vector.
* em(modelName = "E", m2, mu = c(25, 50), sigmasq=10, pro = c(0.4,
0.6))
Error in as.double.default(data) : (list) object cannot be coerced to
double.
Why do I receive this error?
Thank,
Brian C. Newquist
Research Statistician
2003 Nov 15
0
r 1.7.1, MacOS 9.2.2, mclust 2.0-2 (Update), lapackLib
...ime since I have used this and imagine it will be painful to get back up to speed.
Thanks,
S. Kennedy
> library(mclust)
Attaching package 'mclust':
The following object(s) are masked from package:base :
density
> data(iris)
> irisMatrix <- as.matrix(iris[,1:4])
> irisClass <- iris[,5]
> irisMclust <- Mclust(irisMatrix)
> plot(irisMclust,irisMatrix)
make a plot selection (0 to exit):
1:plot: BIC
2:plot: Pairs
3:plot: Classification (2-D projection)
4:plot: Uncertainty (2-D projection)
5:plot: All
Selection: 5
Hit <Return> to see next plot:
H...