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

Uwe Ligges ligges at statistik.tu-dortmund.de
Sat Dec 1 19:39:49 CET 2012



On 29.11.2012 20:46, fkh wrote:
> 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"
>
>

Are you aware you posted to the mailing list rather than to the package 
maintainer?

Uwe Ligges

>
>
> --
> 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.
>
> ______________________________________________
> 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