residuals.nrm {ghypernet}R Documentation

Method to compute residuals of nrm models

Description

Method to compute residuals of nrm models

Usage

## S3 method for class 'nrm'
residuals(object, adj, RMSLE = FALSE, null = FALSE, ...)

Arguments

object

nrm object

adj

adjacency against which to compute residuals

RMSLE

logical, return log residuals? default FALSE

null

logical. use null model?

...

additional parameters to be passed to and from internal functions.

Value

numeric vector, residuals of nrm model fit against the original data

Examples


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


[Package ghypernet version 1.1.0 Index]