Re: [R] Using "cpquery" function from bnlearn package inside loop

2013-10-11 Thread Ryan Morrison
--- Ryan On Oct 11, 2013, at 1:25 PM, Marco Scutari wrote: > Dear Ryan, > > On 11 October 2013 16:50, Ryan Morrison wrote: >> The cpquery function is definitely easier to use given that my evidence is >> contained in lists. > > For the record, this is not a general s

Re: [R] Using "cpquery" function from bnlearn package inside loop

2013-10-11 Thread Ryan Morrison
Thanks Marco, The cpquery function is definitely easier to use given that my evidence is contained in lists. Thanks for your help! --- Ryan Ryan Morrison, PE PhD Candidate University of New Mexico Department of Civil Engineering Centennial Engineering Center, Room 3057 Phone: 505-633-5506

[R] Using "cpquery" function from bnlearn package inside loop

2013-10-09 Thread Ryan Morrison
Hi everyone, I'm attempting to use the bnlearn package to calculate conditional probabilities, and I'm running into a problem when the "cpquery" function is used within a loop. I've created an example, shown below, using data included with the package. When using the cpquery function in a loop

[R] Using "cpquery" function from bnlearn package inside loop

2013-10-09 Thread Ryan Morrison
Hi everyone, I'm attempting to use the bnlearn package to calculate conditional probabilities, and I'm running into a problem when the "cpquery" function is used within a loop. I've created an example, shown below, using data included with the package. When using the cpquery function in a loop