Learn R Programming

ssgraph (version 1.15)

predict.ssgraph: Predict function for S3 class "bdgraph"

Description

Provides predict values of the results for function ssgraph.

Usage

# S3 method for ssgraph
predict( object, iter = 1, ... )

Arguments

object

object of S3 class "ssgraph", from function ssgraph.

iter

number of predictions.

...

additional parameters.

Author

Reza Mohammadi a.mohammadi@uva.nl

References

Wang, H. (2015). Scaling it up: Stochastic search structure learning in graphical models, Bayesian Analysis, 10(2):351-377

Mohammadi, A. et al (2017). Bayesian modelling of Dupuytren disease by using Gaussian copula graphical models, Journal of the Royal Statistical Society: Series C, 66(3):629-645

See Also

ssgraph

Examples

Run this code
if (FALSE) {
# Generating multivariate normal data from a 'random' graph
data.sim <- bdgraph.sim( n = 50, p = 6, size = 7, vis = TRUE )
   
ssgraph.obj <- ssgraph( data = data.sim )
   
predict( ssgraph.obj, iter = 20 )
}

Run the code above in your browser using DataLab