Søren Højsgaard
2008-Jan-28 11:46 UTC
[R] [R-pkgs] New package: gRain - gRAphical Independence Networks
Dear useRs I have uploaded a new package, gRain, for propability propagation in graphical independence networks; sometimes also called probabilistic expertsystems and Bayesian networks. Regards S?ren H?jsgaard _______________________________________________ R-packages mailing list R-packages at r-project.org https://stat.ethz.ch/mailman/listinfo/r-packages
fkh
2012-Nov-29 19:46 UTC
[R] [R-pkgs] New package: gRain - gRAphical Independence Networks
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.
Uwe Ligges
2012-Dec-01 18:39 UTC
[R] [R-pkgs] New package: gRain - gRAphical Independence Networks
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. >
Maybe Matching Threads
- New package: gRain - gRAphical Independence Networks
- unable to find inherited method for function "edges", for signature "ugsh", "missing"
- Issue installing Matrix Package
- R CMD CHECK WARNING inappropriate for S4 method?
- GraphNEL object retrieve edgenumber from acc() or is it list of lists?