[R] problem using KLdiv - flexmix

Naveena naveena.c at decidyn.com
Tue Sep 22 11:51:34 CEST 2009


Hai 

Can someone please tell me which package is good for CART in R?

I have found something called "PARTYKIT" is that a good package for CART??

Thanks and Regards
Naveena

-----Original Message-----
From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On
Behalf Of Robert Hall
Sent: Tuesday, September 22, 2009 3:11 PM
To: r-help
Subject: [R] problem using KLdiv - flexmix

I am receiving the following error while executing KLdiv method:

kl<-KLdiv(y)
Error in function (classes, fdef, mtable)  :
  unable to find an inherited method for function "KLdiv", for signature
"data.frame"

the code is as follows:
require(flexmix)
KLdiv(y)


the object y (snippet, actual object contains 188 entries) is as follows:

    s1p5 s2p5
1    0.6  0.8
2    0.8  0.2
3    0.6  0.8
4    0.2  0.0
5    0.6  0.8
6    0.6  0.4
7    0.2  0.8
8    1.0  0.0
9    0.4  0.8
10   0.4  0.4

I tried searching in the R mail archives but could not get any convincing
answer.
Please help.
Thanks!

Rob Hall.

	[[alternative HTML version deleted]]

______________________________________________
R-help at r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.




More information about the R-help mailing list