model_performance: Return the Model Performance of an Latent Space Model

Description Usage Arguments Details Value Author(s)

View source: R/latentnet.R

Description

Returns a performance object for a model estimates with ergmm.

Usage

1
2
3
4
model_performance(object, measure, x.measure = "cutoff", type = "pmean", ...)

## S3 method for class 'ergmm'
model_performance(object, measure, x.measure = "cutoff", type = "pmean", ...)

Arguments

object

ergmm model object

measure

Performance measure to use for the evaluation. See performance.

x.measure

A second performance measure. See performance.

type

Prediction type to pass to predict.ergmm. Unlike in that function, "pmean" is the default.

...

Additional arguments, not used

Details

Returns a performance object for a model estimates with ergmm. Predictions from the supplied model are based on the posterior mean of the parameter estimates.

Value

A performance object.

Author(s)

Jason W. Morgan jason.w.morgan@gmail.com


jason-morgan/ina documentation built on Dec. 3, 2019, 7:12 a.m.