Learn R Programming

RSiena (version 1.0.9)

sienaFit.methods: Methods for processing sienaFit objects

Description

print, summary, and xtable methods for sienaFit objects.

Usage

## S3 method for class 'sienaFit':
print(x, tstat=TRUE, ...)

## S3 method for class 'sienaFit': summary(object, ...)

## S3 method for class 'summary.sienaFit': print(x, ...)

## S3 method for class 'sienaFit': xtable(x, caption = NULL, label = NULL, align = NULL, digits = NULL, display = NULL, ...)

Arguments

Value

The function print.sienaFit prints a table containing estimated parameter values, standard errors and (optionally) t-statistics for convergence.

The function summary.sienaFit prints a table containing estimated parameter values, standard errors and t-statistics for convergence together with the covariance matrix of the estimates, the derivative matrix of expected statistics X by parameters, and the covariance matrix of the expected statistics X.

The function xtable.sienaFit creates an object of class xtable.sienaFit which inherits from class xtable and passes an extra arguments to the print.xtable.

References

See http://www.stats.ox.ac.uk/~snijders/siena/

See Also

xtable, print.xtable, siena07

Examples

Run this code
mymodel <- sienaModelCreate(fn=simstats0c, nsub=2, n3=100)
mynet1 <- sienaNet(array(c(tmp3, tmp4), dim=c(32, 32, 2)))
mydata <- sienaDataCreate(mynet1)
myeff <- getEffects(mydata)
ans <- siena07(mymodel, data=mydata, effects=myeff, batch=TRUE)
ans
summary(ans)
xtable(ans, type='html', file='ans.html')

Run the code above in your browser using DataLab