Bayesian Network mit R
Ich versuche, ein Bayes'sches Netzwerkmodell zu erstellen. Ich kann jedoch kein geeignetes Paket installieren. VersuchtgRain
, bnlearn
undRgraphviz
zum Plotten. Ich habe in R 2.15 und 3.2 versucht
Folgend sind die Fehlermeldungen:
library(gRain)
Loading required package: gRbase
Loading required package: graph
Error: package ‘graph’ could not be loaded
In addition: Warning message:
In library(pkg, character.only = TRUE, logical.return = TRUE, lib.loc = lib.loc) :
there is no package called ‘graph’
> install.packages("graph")
Warning message:
package ‘graph’ is not available (for R version 2.15.3)
Same for R 3.2.1
> install.packages("graph")
(as ‘lib’ is unspecified)
Warning message:
package ‘graph’ is not available (for R version 3.2.1)
> install.packages("Rgraphviz")
(as ‘lib’ is unspecified)
--- Please select a CRAN mirror for use in this session ---
Warning messages:
1: In open.connection(con, "r") : unable to resolve 'cran.r-project.org'
2: package ‘Rgraphviz’ is not available (for R version 3.2.1)
> install.packages("Rgraphviz")
(as ‘lib’ is unspecified)
Warning message:
package ‘Rgraphviz’ is not available (for R version 2.15.3)
Weitere Infos zum Modell1) Anzahl der Variablen - 17 2) Art der Variablen - diskret / kontinuierlich