Learn R Programming

CDatanet (version 0.0.1)

summary.SARTML: Summarize SART Model

Description

Summary and print methods for the class SARTML as returned by the function SARTML.

Usage

# S3 method for SARTML
summary(object, Glist, data, ...)

# S3 method for summary.SARTML print(x, ...)

# S3 method for SARTML print(x, ...)

# S3 method for summary.SARTMLs print(x, ...)

Arguments

object

an object of class SARTML, output of the function SARTML.

Glist

the adjacency matrix or list sub-adjacency matrix. If missing make, sure that the object provided to the function SARTML is available in .GlobalEnv (see detail - codedata section of SARTML).

data

dataframe containing the explanatory variables. If missing make, sure that the object provided to the function SARTML is available in .GlobalEnv (see detail - codedata section of SARTML).

...

further arguments passed to or from other methods.

x

an object of class summary.SARTML, output of the function summary.SARTML or class SARTML, output of the function SARTML.

Value

A list consisting of:

M

number of sub-networks.

n

number of individuals in each network.

estimate

Maximum Likelihood (ML) estimator.

likelihood

likelihood value.

cov

covariance matrix of the estimate.

optimization

output as returned by the optimizer.

codedata

list of formula, name of the object Glist, number of friends in the network, name of the object data, and number of zeros in y.