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

View source: R/ssgraph.R

predict.ssgraphR Documentation

Predict function for S3 class "bdgraph"

Description

Provides predict values of the results for function ssgraph.

Usage

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

Arguments

object

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

iter

number of predictions.

...

additional parameters.

Author(s)

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

## Not run: 
# 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 )

## End(Not run)

ssgraph documentation built on Dec. 28, 2022, 2:37 a.m.