[R] [R-pkgs] New package: gRain - gRAphical Independence Networks

fkh farshadkheiri at gmail.com
Thu Nov 29 20:46:38 CET 2012


I am trying to use your package gRain using your book on graphical models in
R to do predictions, I have 38 columns of vectors all factors and built a 
bayesian network using iamb() function, then I used the following command to
make a grpahNEL (However, I have 38 nodes and 106 edges) using 
BN<-iamb(data1)
BN.gr<-as(amat(BN),"graphNEL")
Then when I am using the following command to make a grain object I got the
following errors, any thoughts? Thanks a lot for your help in advance.

BN.grain<-grain(BN.gr,data=data1)

Error in function (classes, fdef, mtable)  : 
  unable to find an inherited method for function "nodes", for signature
"graphNEL", "missing"




--
View this message in context: http://r.789695.n4.nabble.com/R-pkgs-New-package-gRain-gRAphical-Independence-Networks-tp846943p4651338.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list