RMSE: Computes the Root Mean Squared Error

View source: R/err.R

RMSER Documentation

Computes the Root Mean Squared Error

Description

Computes the Root Mean Squared Error

Usage

RMSE(model, adj, null = FALSE)

Arguments

model

nrm model estimate

adj

original adjacency matrix

null

logical, whether to compute using null model

Value

numeric, root mean squared error of residuals of nrm model fit

Examples


data('highschool.predictors')
highschool.m <- nrm(w=highschool.predictors[1], adj=contacts.adj, directed=FALSE, selfloops=FALSE)
RMSE(highschool.m, contacts.adj)


gi0na/ghypernet documentation built on April 13, 2024, 2:33 a.m.