[R] Fwd: A problem with jointprior

From: Suhaila Zainudin <suhaila.zainudin_at_gmail.com>
Date: Thu, 17 Apr 2008 13:54:12 +0800

Greetings all,

I am trying to use Deal to learn a Bayesian Network for discrete data. I came across the following problem with jointprior function.


> a <- read.csv("prepared.cluster1.csv")
> fit <- network(a)
> fit.prior <- jointprior(fit)

Error in array(1, Dim) : 'dim' specifies too large an array

I have tried debugging array and still can't fully understand what the problem is all about.

For further information regarding my data (prepared.cluster1.csv) , I have 77 columns vs 77 rows. Data are in the form of factor (3 levels of -1,0,1). I also have provided a self-contained example.

Any comments are highly appreciated.

Suhaila Zainudin
PhD Candidate
Universiti Teknologi Malaysia

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

Received on Thu 17 Apr 2008 - 06:42:00 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 17 Apr 2008 - 07:30:35 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive